home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2001 February / Internet Magazine February 2001.iso / mac / SOFTWARE / MAC / WEB EDITORS / HTML_OPTIMIZER / HTMLOPTIMIZER.HQX / HTML Optimizer 3.3.2ƒ / HTML Optimizer 3.3.2 / cards.xml < prev    next >
Encoding:
Text File  |  2000-12-11  |  98.5 KB  |  2,165 lines

  1. card_3037.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3037</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3749.pbm</bitmap>
  8.     <cantDelete> <true /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2606</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3256.css" />
  13.     <part>
  14.         <id>115</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <false /> </enabled>
  23.         <rect>
  24.             <left>165</left>
  25.             <top>199</top>
  26.             <right>252</right>
  27.             <bottom>218</bottom>
  28.         </rect>
  29.         <style>standard</style>
  30.         <showName> <true /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <true /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Charcoal</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>View Page</name>
  42.         <script>on mouseEnter
  43. put return&return&"Enables you to view the current page in your browser, after"&&┬¼
  44. "an optimizing and/or converting job. If more pages were handled you can select one." into text1
  45. if enabled of me then
  46. FullBalloons "ShowDirect","View Page"&text1
  47. else
  48. FullBalloons "ShowDirect","View Page (disabled)"&text1&┬¼
  49. return&"This button is only enabled after a finished job and disabled after an aborted job."
  50. end if
  51. end mouseEnter
  52.  
  53. on mouseUp
  54. global lastPage,thisSelect
  55. repeat 2
  56. if me is empty then send mouseUp to btn "openBrowser"
  57. if me is "error" then
  58. put empty into me
  59. exit repeat
  60. end if
  61. end repeat
  62. if me is empty then
  63. answer file "Select your standard Internet browser:" of type "APPL"
  64. if the result is "Cancel" or it is empty then
  65. exit mouseUp
  66. else put it into me
  67. end if
  68. if thisSelect is "one" then
  69. open (btn id 26 & "Optimizer Output:" & lastPage) with me
  70. else if thisSelect is "all" then
  71. send mouseUp to btn "activateMe"
  72. answer file "Choose a web page from the Optimizer Output folder:" of type "TEXT"
  73. if the result is "Cancel" or it is empty then
  74. exit to HyperCard
  75. else open it with me
  76. end if
  77. end mouseup
  78. </script>
  79.     </part>
  80.     <part>
  81.         <id>1</id>
  82.         <type>field</type>
  83.         <visible> <true /> </visible>
  84.         <dontWrap> <false /> </dontWrap>
  85.         <dontSearch> <false /> </dontSearch>
  86.         <sharedText> <false /> </sharedText>
  87.         <fixedLineHeight> <false /> </fixedLineHeight>
  88.         <autoTab> <false /> </autoTab>
  89.         <lockText> <true /> </lockText>
  90.         <rect>
  91.             <left>16</left>
  92.             <top>47</top>
  93.             <right>400</right>
  94.             <bottom>185</bottom>
  95.         </rect>
  96.         <style>scrolling</style>
  97.         <autoSelect> <false /> </autoSelect>
  98.         <showLines> <false /> </showLines>
  99.         <wideMargins> <true /> </wideMargins>
  100.         <multipleLines> <false /> </multipleLines>
  101.         <reservedFamily> 0 </reservedFamily>
  102.         <titleWidth>0</titleWidth>
  103.         <icon>0</icon>
  104.         <textAlign>left</textAlign>
  105.         <font>Geneva</font>
  106.         <textSize>10</textSize>
  107.         <textStyle>plain</textStyle>
  108.         <textHeight>13</textHeight>
  109.         <name>Intro</name>
  110.         <script>on mouseUp
  111. if the clickText is "'About Optimizing'" then
  112. find string "About Optimizing┬á" in me
  113. click at 0,0
  114. else if the clickText contains "barebones.com" then
  115. select the clickChunk
  116. wait 5
  117. select empty
  118. send mouseUp to btn "downloadBBEdit"
  119. else set scroll of me to 0
  120. end mouseUp
  121.  
  122. </script>
  123.     </part>
  124.     <part>
  125.         <id>3</id>
  126.         <type>button</type>
  127.         <visible> <true /> </visible>
  128.         <reserved5> 0 </reserved5>
  129.         <reserved4> 0 </reserved4>
  130.         <reserved3> 0 </reserved3>
  131.         <reserved2> 0 </reserved2>
  132.         <reserved1> 0 </reserved1>
  133.         <enabled> <true /> </enabled>
  134.         <rect>
  135.             <left>164</left>
  136.             <top>248</top>
  137.             <right>254</right>
  138.             <bottom>266</bottom>
  139.         </rect>
  140.         <style>transparent</style>
  141.         <showName> <true /> </showName>
  142.         <highlight> <false /> </highlight>
  143.         <autoHighlight> <true /> </autoHighlight>
  144.         <sharedHighlight> <true /> </sharedHighlight>
  145.         <family>0</family>
  146.         <titleWidth>0</titleWidth>
  147.         <icon>0</icon>
  148.         <textAlign>center</textAlign>
  149.         <font>Charcoal</font>
  150.         <textSize>12</textSize>
  151.         <textStyle>plain</textStyle>
  152.         <name>OptimizeΓǪ</name>
  153.         <script>on mouseEnter
  154. FullBalloons "ShowDirect","Optimize"&return&return&"Starts the optimizing process,"&&┬¼
  155. "at choice after first converting special characters, if indicated at the Preferences."
  156. end mouseEnter
  157.  
  158. on mouseUp
  159. global showLog
  160. Fullballoons "isOn"
  161. if the result then Fullballoons "Off"
  162. put false into showLog
  163. disableThings
  164. selectWebPages
  165. end mouseUp</script>
  166.     </part>
  167.     <part>
  168.         <id>42</id>
  169.         <type>button</type>
  170.         <visible> <true /> </visible>
  171.         <reserved5> 0 </reserved5>
  172.         <reserved4> 0 </reserved4>
  173.         <reserved3> 0 </reserved3>
  174.         <reserved2> 0 </reserved2>
  175.         <reserved1> 0 </reserved1>
  176.         <enabled> <true /> </enabled>
  177.         <rect>
  178.             <left>288</left>
  179.             <top>199</top>
  180.             <right>388</right>
  181.             <bottom>218</bottom>
  182.         </rect>
  183.         <style>standard</style>
  184.         <showName> <true /> </showName>
  185.         <highlight> <false /> </highlight>
  186.         <autoHighlight> <true /> </autoHighlight>
  187.         <sharedHighlight> <true /> </sharedHighlight>
  188.         <family>0</family>
  189.         <titleWidth>0</titleWidth>
  190.         <icon>0</icon>
  191.         <textAlign>center</textAlign>
  192.         <font>Charcoal</font>
  193.         <textSize>12</textSize>
  194.         <textStyle>plain</textStyle>
  195.         <name>Check TagsΓǪ</name>
  196.         <script>on mouseEnter
  197. FullBalloons "ShowDirect","Check Tags"&return&return&"Starts the process of checking the"&&┬¼
  198. "tagged pairs and the Width, Height and Alt attributes of the IMG tags."
  199. end mouseEnter
  200.  
  201. on mouseUp
  202. global showLog
  203. put false into showLog
  204. disableThings
  205. selectWebPages
  206. end mouseUp</script>
  207.     </part>
  208.     <part>
  209.         <id>4</id>
  210.         <type>button</type>
  211.         <visible> <true /> </visible>
  212.         <reserved5> 0 </reserved5>
  213.         <reserved4> 0 </reserved4>
  214.         <reserved3> 0 </reserved3>
  215.         <reserved2> 0 </reserved2>
  216.         <reserved1> 0 </reserved1>
  217.         <enabled> <true /> </enabled>
  218.         <rect>
  219.             <left>29</left>
  220.             <top>265</top>
  221.             <right>69</right>
  222.             <bottom>284</bottom>
  223.         </rect>
  224.         <style>standard</style>
  225.         <showName> <true /> </showName>
  226.         <highlight> <false /> </highlight>
  227.         <autoHighlight> <true /> </autoHighlight>
  228.         <sharedHighlight> <true /> </sharedHighlight>
  229.         <family>0</family>
  230.         <titleWidth>0</titleWidth>
  231.         <icon>0</icon>
  232.         <textAlign>center</textAlign>
  233.         <font>Charcoal</font>
  234.         <textSize>12</textSize>
  235.         <textStyle>plain</textStyle>
  236.         <name>Quit</name>
  237.         <script>on mouseEnter
  238. FullBalloons "ShowDirect","Quit"&return&return&"Quits HTML Optimizer and HyperCard."
  239. end mouseEnter
  240.  
  241. on mouseUp
  242. doMenu "Quit HyperCard"
  243. end mouseUp</script>
  244.     </part>
  245.     <part>
  246.         <id>5</id>
  247.         <type>button</type>
  248.         <visible> <true /> </visible>
  249.         <reserved5> 0 </reserved5>
  250.         <reserved4> 0 </reserved4>
  251.         <reserved3> 0 </reserved3>
  252.         <reserved2> 0 </reserved2>
  253.         <reserved1> 0 </reserved1>
  254.         <enabled> <true /> </enabled>
  255.         <rect>
  256.             <left>29</left>
  257.             <top>199</top>
  258.             <right>129</right>
  259.             <bottom>218</bottom>
  260.         </rect>
  261.         <style>standard</style>
  262.         <showName> <true /> </showName>
  263.         <highlight> <false /> </highlight>
  264.         <autoHighlight> <true /> </autoHighlight>
  265.         <sharedHighlight> <true /> </sharedHighlight>
  266.         <family>0</family>
  267.         <titleWidth>0</titleWidth>
  268.         <icon>0</icon>
  269.         <textAlign>center</textAlign>
  270.         <font>Charcoal</font>
  271.         <textSize>12</textSize>
  272.         <textStyle>plain</textStyle>
  273.         <name>Author Info</name>
  274.         <script>on mouseEnter
  275. if the target contains "Author" then
  276. FullBalloons "ShowDirect","Author Info"&return&return&"Shows info about other software from"&&┬¼
  277. "the author of this program."
  278. else
  279. FullBalloons "ShowDirect","Hide Info"&return&return&"Hides info about the author."
  280. end if
  281. end mouseEnter
  282.  
  283. on mouseUp
  284. FullBalloons "remove"
  285. lock screen
  286. if not visible of cd fld "About" then
  287. disable btn "PrintΓǪ"
  288. show cd fld "About"
  289. set name of me to "Hide Info"
  290. AddColor colorCard,irisOpen,20
  291. unlock screen with iris open fast
  292. else
  293. if not visible of cd fld "Log" then enable btn "PrintΓǪ"
  294. hide cd fld "About"
  295. set name of me to "Author Info"
  296. AddColor colorCard,irisClose,25
  297. unlock screen with iris close fast
  298. end if
  299. end mouseUp</script>
  300.     </part>
  301.     <part>
  302.         <id>6</id>
  303.         <type>button</type>
  304.         <visible> <false /> </visible>
  305.         <reserved5> 0 </reserved5>
  306.         <reserved4> 0 </reserved4>
  307.         <reserved3> 0 </reserved3>
  308.         <reserved2> 0 </reserved2>
  309.         <reserved1> 0 </reserved1>
  310.         <enabled> <true /> </enabled>
  311.         <rect>
  312.             <left>404</left>
  313.             <top>248</top>
  314.             <right>416</right>
  315.             <bottom>260</bottom>
  316.         </rect>
  317.         <style>rectangle</style>
  318.         <showName> <false /> </showName>
  319.         <highlight> <false /> </highlight>
  320.         <autoHighlight> <false /> </autoHighlight>
  321.         <sharedHighlight> <true /> </sharedHighlight>
  322.         <family>0</family>
  323.         <titleWidth>0</titleWidth>
  324.         <icon>0</icon>
  325.         <textAlign>center</textAlign>
  326.         <font>Charcoal</font>
  327.         <textSize>12</textSize>
  328.         <textStyle>plain</textStyle>
  329.         <name>Connect</name>
  330.         <script></script>
  331.     </part>
  332.     <part>
  333.         <id>10</id>
  334.         <type>field</type>
  335.         <visible> <false /> </visible>
  336.         <dontWrap> <false /> </dontWrap>
  337.         <dontSearch> <false /> </dontSearch>
  338.         <sharedText> <false /> </sharedText>
  339.         <fixedLineHeight> <false /> </fixedLineHeight>
  340.         <autoTab> <false /> </autoTab>
  341.         <lockText> <true /> </lockText>
  342.         <rect>
  343.             <left>16</left>
  344.             <top>47</top>
  345.             <right>400</right>
  346.             <bottom>185</bottom>
  347.         </rect>
  348.         <style>scrolling</style>
  349.         <autoSelect> <false /> </autoSelect>
  350.         <showLines> <false /> </showLines>
  351.         <wideMargins> <true /> </wideMargins>
  352.         <multipleLines> <false /> </multipleLines>
  353.         <reservedFamily> 0 </reservedFamily>
  354.         <titleWidth>0</titleWidth>
  355.         <icon>0</icon>
  356.         <textAlign>left</textAlign>
  357.         <font>Geneva</font>
  358.         <textSize>10</textSize>
  359.         <textStyle>plain</textStyle>
  360.         <textHeight>13</textHeight>
  361.         <name>Log</name>
  362.         <script>on mouseUp
  363. global showLog
  364. if the clickText is "here" then
  365. lock screen
  366. put false into showLog
  367. hide me
  368. if not visible of cd fld "About" then enable btn "PrintΓǪ"
  369. AddColor colorCard,irisClose,25
  370. unlock screen with iris close fast
  371. else set scroll of me to 0
  372. end mouseUp</script>
  373.     </part>
  374.     <part>
  375.         <id>7</id>
  376.         <type>field</type>
  377.         <visible> <false /> </visible>
  378.         <dontWrap> <false /> </dontWrap>
  379.         <dontSearch> <true /> </dontSearch>
  380.         <sharedText> <false /> </sharedText>
  381.         <fixedLineHeight> <false /> </fixedLineHeight>
  382.         <autoTab> <false /> </autoTab>
  383.         <lockText> <true /> </lockText>
  384.         <rect>
  385.             <left>16</left>
  386.             <top>47</top>
  387.             <right>400</right>
  388.             <bottom>185</bottom>
  389.         </rect>
  390.         <style>rectangle</style>
  391.         <autoSelect> <false /> </autoSelect>
  392.         <showLines> <false /> </showLines>
  393.         <wideMargins> <true /> </wideMargins>
  394.         <multipleLines> <false /> </multipleLines>
  395.         <reservedFamily> 0 </reservedFamily>
  396.         <titleWidth>0</titleWidth>
  397.         <icon>0</icon>
  398.         <textAlign>left</textAlign>
  399.         <font>Geneva</font>
  400.         <textSize>10</textSize>
  401.         <textStyle>plain</textStyle>
  402.         <textHeight>13</textHeight>
  403.         <name>About</name>
  404.         <script>on mouseUp
  405. if the clickText contains "http://" then
  406. select the clickChunk
  407. wait 3
  408. select empty
  409. send mouseUp to btn "Connect"
  410. else if the clickText contains "@tonbrand" then
  411. select the clickChunk
  412. wait 3
  413. select empty
  414. send mouseUp to btn "sendMail"
  415. end if
  416. end mouseUp</script>
  417.     </part>
  418.     <part>
  419.         <id>15</id>
  420.         <type>field</type>
  421.         <visible> <false /> </visible>
  422.         <dontWrap> <false /> </dontWrap>
  423.         <dontSearch> <true /> </dontSearch>
  424.         <sharedText> <false /> </sharedText>
  425.         <fixedLineHeight> <false /> </fixedLineHeight>
  426.         <autoTab> <false /> </autoTab>
  427.         <lockText> <true /> </lockText>
  428.         <rect>
  429.             <left>16</left>
  430.             <top>47</top>
  431.             <right>402</right>
  432.             <bottom>187</bottom>
  433.         </rect>
  434.         <style>opaque</style>
  435.         <autoSelect> <false /> </autoSelect>
  436.         <showLines> <false /> </showLines>
  437.         <wideMargins> <true /> </wideMargins>
  438.         <multipleLines> <false /> </multipleLines>
  439.         <reservedFamily> 0 </reservedFamily>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>left</textAlign>
  443.         <font>Geneva</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <textHeight>16</textHeight>
  447.         <name>Status</name>
  448.         <script></script>
  449.     </part>
  450.     <part>
  451.         <id>23</id>
  452.         <type>button</type>
  453.         <visible> <false /> </visible>
  454.         <reserved5> 0 </reserved5>
  455.         <reserved4> 0 </reserved4>
  456.         <reserved3> 0 </reserved3>
  457.         <reserved2> 0 </reserved2>
  458.         <reserved1> 0 </reserved1>
  459.         <enabled> <true /> </enabled>
  460.         <rect>
  461.             <left>102</left>
  462.             <top>77</top>
  463.             <right>324</right>
  464.             <bottom>89</bottom>
  465.         </rect>
  466.         <style>rectangle</style>
  467.         <showName> <false /> </showName>
  468.         <highlight> <false /> </highlight>
  469.         <autoHighlight> <false /> </autoHighlight>
  470.         <sharedHighlight> <true /> </sharedHighlight>
  471.         <family>0</family>
  472.         <titleWidth>0</titleWidth>
  473.         <icon>0</icon>
  474.         <textAlign>center</textAlign>
  475.         <font>Charcoal</font>
  476.         <textSize>12</textSize>
  477.         <textStyle>plain</textStyle>
  478.         <name>ProgressBase</name>
  479.         <script></script>
  480.     </part>
  481.     <part>
  482.         <id>22</id>
  483.         <type>field</type>
  484.         <visible> <false /> </visible>
  485.         <dontWrap> <false /> </dontWrap>
  486.         <dontSearch> <false /> </dontSearch>
  487.         <sharedText> <false /> </sharedText>
  488.         <fixedLineHeight> <false /> </fixedLineHeight>
  489.         <autoTab> <false /> </autoTab>
  490.         <lockText> <true /> </lockText>
  491.         <rect>
  492.             <left>268</left>
  493.             <top>78</top>
  494.             <right>323</right>
  495.             <bottom>88</bottom>
  496.         </rect>
  497.         <style>opaque</style>
  498.         <autoSelect> <false /> </autoSelect>
  499.         <showLines> <false /> </showLines>
  500.         <wideMargins> <false /> </wideMargins>
  501.         <multipleLines> <false /> </multipleLines>
  502.         <reservedFamily> 0 </reservedFamily>
  503.         <titleWidth>0</titleWidth>
  504.         <icon>0</icon>
  505.         <textAlign>left</textAlign>
  506.         <font>Geneva</font>
  507.         <textSize>12</textSize>
  508.         <textStyle>plain</textStyle>
  509.         <textHeight>16</textHeight>
  510.         <name>Progress</name>
  511.         <script></script>
  512.     </part>
  513.     <part>
  514.         <id>26</id>
  515.         <type>button</type>
  516.         <visible> <true /> </visible>
  517.         <reserved5> 0 </reserved5>
  518.         <reserved4> 0 </reserved4>
  519.         <reserved3> 0 </reserved3>
  520.         <reserved2> 0 </reserved2>
  521.         <reserved1> 0 </reserved1>
  522.         <enabled> <true /> </enabled>
  523.         <rect>
  524.             <left>29</left>
  525.             <top>232</top>
  526.             <right>129</right>
  527.             <bottom>251</bottom>
  528.         </rect>
  529.         <style>standard</style>
  530.         <showName> <true /> </showName>
  531.         <highlight> <false /> </highlight>
  532.         <autoHighlight> <true /> </autoHighlight>
  533.         <sharedHighlight> <true /> </sharedHighlight>
  534.         <family>0</family>
  535.         <titleWidth>0</titleWidth>
  536.         <icon>0</icon>
  537.         <textAlign>center</textAlign>
  538.         <font>Charcoal</font>
  539.         <textSize>12</textSize>
  540.         <textStyle>plain</textStyle>
  541.         <name>PreferencesΓǪ</name>
  542.         <script>on mouseEnter
  543. FullBalloons "ShowDirect","Preferences"&return&return&"Opens 'Preferences'"&&┬¼
  544. "where you can customize the operation of HTML Optimizer."
  545. end mouseEnter
  546.  
  547. on mouseUp
  548. global hi28,hi29,hi30,hi34,hi39,hi44,hi60,hi61,hi68,hi96,hi119,hi127,hi146,en53,li53
  549. if hilite of btn id 28 then
  550. put true into hi28
  551. else put false into hi28
  552. if hilite of btn id 29 then
  553. put true into hi29
  554. else put false into hi29
  555. if hilite of btn id 30 then
  556. put true into hi30
  557. else put false into hi30
  558. if hilite of btn id 34 then
  559. put true into hi34
  560. else put false into hi34
  561. if hilite of btn id 39 then
  562. put true into hi39
  563. else put false into hi39
  564. if hilite of btn id 44 then
  565. put true into hi44
  566. else put false into hi44
  567. if hilite of btn id 60 then
  568. put true into hi60
  569. else put false into hi60
  570. if hilite of btn id 61 then
  571. put true into hi61
  572. else put false into hi61
  573. if hilite of btn id 68 then
  574. put true into hi68
  575. else put false into hi68
  576. if hilite of btn id 96 then
  577. put true into hi96
  578. else put false into hi96
  579. if hilite of btn id 119 then
  580. put true into hi119
  581. else put false into hi119
  582. if hilite of btn id 127 then
  583. put true into hi127
  584. else put false into hi127
  585. if enabled of btn id 53 then
  586. put true into en53
  587. else put false into en53
  588. put selectedLine of btn id 53 into li53
  589. FullBalloons "remove"
  590. lock screen
  591. show cd fld "Prefs"
  592. show cd fld "Fake1"
  593. show cd fld "Fake2"
  594. show cd fld "Fake3"
  595. show cd fld "Fake4"
  596. show cd fld "Fake5"
  597. show cd fld "SmallBlueLine1"
  598. show cd fld "SmallBlueLine2"
  599. show btn id 28
  600. show btn id 29
  601. show btn id 30
  602. show btn id 34
  603. show btn id 35
  604. show btn id 37
  605. show btn id 38
  606. show btn id 39
  607. show btn id 44
  608. show btn id 53
  609. show btn id 60
  610. show btn id 61
  611. show btn id 68
  612. show btn id 96
  613. show btn id 119
  614. show btn id 127
  615. AddColor addPict,cd,"Savebutton","308,188",o,25
  616. AddColor colorCard,irisOpen,20
  617. unlock screen with iris open fast
  618. end mouseUp</script>
  619.     </part>
  620.     <part>
  621.         <id>50</id>
  622.         <type>field</type>
  623.         <visible> <true /> </visible>
  624.         <dontWrap> <false /> </dontWrap>
  625.         <dontSearch> <false /> </dontSearch>
  626.         <sharedText> <false /> </sharedText>
  627.         <fixedLineHeight> <false /> </fixedLineHeight>
  628.         <autoTab> <false /> </autoTab>
  629.         <lockText> <true /> </lockText>
  630.         <rect>
  631.             <left>16</left>
  632.             <top>185</top>
  633.             <right>400</right>
  634.             <bottom>187</bottom>
  635.         </rect>
  636.         <style>opaque</style>
  637.         <autoSelect> <false /> </autoSelect>
  638.         <showLines> <false /> </showLines>
  639.         <wideMargins> <false /> </wideMargins>
  640.         <multipleLines> <false /> </multipleLines>
  641.         <reservedFamily> 0 </reservedFamily>
  642.         <titleWidth>0</titleWidth>
  643.         <icon>0</icon>
  644.         <textAlign>left</textAlign>
  645.         <font>Geneva</font>
  646.         <textSize>12</textSize>
  647.         <textStyle>plain</textStyle>
  648.         <textHeight>16</textHeight>
  649.         <name>BlueLine</name>
  650.         <script></script>
  651.     </part>
  652.     <part>
  653.         <id>65</id>
  654.         <type>button</type>
  655.         <visible> <true /> </visible>
  656.         <reserved5> 0 </reserved5>
  657.         <reserved4> 0 </reserved4>
  658.         <reserved3> 0 </reserved3>
  659.         <reserved2> 0 </reserved2>
  660.         <reserved1> 0 </reserved1>
  661.         <enabled> <false /> </enabled>
  662.         <rect>
  663.             <left>288</left>
  664.             <top>232</top>
  665.             <right>388</right>
  666.             <bottom>251</bottom>
  667.         </rect>
  668.         <style>standard</style>
  669.         <showName> <true /> </showName>
  670.         <highlight> <false /> </highlight>
  671.         <autoHighlight> <true /> </autoHighlight>
  672.         <sharedHighlight> <true /> </sharedHighlight>
  673.         <family>0</family>
  674.         <titleWidth>0</titleWidth>
  675.         <icon>0</icon>
  676.         <textAlign>center</textAlign>
  677.         <font>Charcoal</font>
  678.         <textSize>12</textSize>
  679.         <textStyle>plain</textStyle>
  680.         <name>Mark TagsΓǪ</name>
  681.         <script>on mouseEnter
  682. put return&return&"Starts the process of marking"&&┬¼
  683. "dangling tags and incomplete IMG tags." into text1
  684. if enabled of me then
  685. FullBalloons "ShowDirect","Mark Tags"&text1
  686. else
  687. FullBalloons "ShowDirect","Mark Tags (disabled)"&text1&┬¼
  688. return&"This button is only enabled if you are a registered user."
  689. end if
  690. end mouseEnter
  691.  
  692. on mouseUp
  693. global showLog
  694. put false into showLog
  695. disableThings
  696. selectWebPages
  697. end mouseUp</script>
  698.     </part>
  699.     <part>
  700.         <id>71</id>
  701.         <type>button</type>
  702.         <visible> <true /> </visible>
  703.         <reserved5> 0 </reserved5>
  704.         <reserved4> 0 </reserved4>
  705.         <reserved3> 0 </reserved3>
  706.         <reserved2> 0 </reserved2>
  707.         <reserved1> 0 </reserved1>
  708.         <enabled> <true /> </enabled>
  709.         <rect>
  710.             <left>288</left>
  711.             <top>265</top>
  712.             <right>388</right>
  713.             <bottom>284</bottom>
  714.         </rect>
  715.         <style>standard</style>
  716.         <showName> <true /> </showName>
  717.         <highlight> <false /> </highlight>
  718.         <autoHighlight> <true /> </autoHighlight>
  719.         <sharedHighlight> <true /> </sharedHighlight>
  720.         <family>0</family>
  721.         <titleWidth>0</titleWidth>
  722.         <icon>0</icon>
  723.         <textAlign>center</textAlign>
  724.         <font>Charcoal</font>
  725.         <textSize>12</textSize>
  726.         <textStyle>plain</textStyle>
  727.         <name>ConvertΓǪ</name>
  728.         <script>on mouseEnter
  729. FullBalloons "ShowDirect","Convert"&return&return&"Starts the process of converting"&&┬¼
  730. "special characters between ASCII 128 and 255 to the &....; notation."
  731. end mouseEnter
  732.  
  733. on mouseUp
  734. global showLog
  735. put false into showLog
  736. disableThings
  737. selectWebPages
  738. end mouseUp</script>
  739.     </part>
  740.     <part>
  741.         <id>97</id>
  742.         <type>button</type>
  743.         <visible> <true /> </visible>
  744.         <reserved5> 0 </reserved5>
  745.         <reserved4> 0 </reserved4>
  746.         <reserved3> 0 </reserved3>
  747.         <reserved2> 0 </reserved2>
  748.         <reserved1> 0 </reserved1>
  749.         <enabled> <true /> </enabled>
  750.         <rect>
  751.             <left>75</left>
  752.             <top>265</top>
  753.             <right>129</right>
  754.             <bottom>284</bottom>
  755.         </rect>
  756.         <style>standard</style>
  757.         <showName> <true /> </showName>
  758.         <highlight> <false /> </highlight>
  759.         <autoHighlight> <true /> </autoHighlight>
  760.         <sharedHighlight> <true /> </sharedHighlight>
  761.         <family>0</family>
  762.         <titleWidth>0</titleWidth>
  763.         <icon>0</icon>
  764.         <textAlign>center</textAlign>
  765.         <font>Charcoal</font>
  766.         <textSize>12</textSize>
  767.         <textStyle>plain</textStyle>
  768.         <name>PrintΓǪ</name>
  769.         <script>on mouseEnter
  770. if enabled of btn "PrintΓǪ" then
  771. FullBalloons "ShowDirect","Print"&return&return&"Prints the above text."
  772. else FullBalloons "ShowDirect","Print (disabled)"
  773. end mouseEnter
  774.  
  775. on mouseUp
  776. doMenu "Page Setup..."
  777. if the result is not "Cancel" then
  778. set the printMargins to 70,60,20,20
  779. print cd fld "Intro"
  780. set the printMargins to 0,0,0,0
  781. end if
  782. end mouseUp</script>
  783.     </part>
  784.     <part>
  785.         <id>93</id>
  786.         <type>field</type>
  787.         <visible> <false /> </visible>
  788.         <dontWrap> <false /> </dontWrap>
  789.         <dontSearch> <false /> </dontSearch>
  790.         <sharedText> <false /> </sharedText>
  791.         <fixedLineHeight> <true /> </fixedLineHeight>
  792.         <autoTab> <false /> </autoTab>
  793.         <lockText> <true /> </lockText>
  794.         <rect>
  795.             <left>5</left>
  796.             <top>36</top>
  797.             <right>410</right>
  798.             <bottom>292</bottom>
  799.         </rect>
  800.         <style>opaque</style>
  801.         <autoSelect> <false /> </autoSelect>
  802.         <showLines> <false /> </showLines>
  803.         <wideMargins> <false /> </wideMargins>
  804.         <multipleLines> <false /> </multipleLines>
  805.         <reservedFamily> 0 </reservedFamily>
  806.         <titleWidth>0</titleWidth>
  807.         <icon>0</icon>
  808.         <textAlign>left</textAlign>
  809.         <font>Geneva</font>
  810.         <textSize>9</textSize>
  811.         <textStyle>plain</textStyle>
  812.         <textHeight>12</textHeight>
  813.         <name>Prefs</name>
  814.         <script>
  815.  
  816. </script>
  817.     </part>
  818.     <part>
  819.         <id>28</id>
  820.         <type>button</type>
  821.         <visible> <false /> </visible>
  822.         <reserved5> 0 </reserved5>
  823.         <reserved4> 0 </reserved4>
  824.         <reserved3> 0 </reserved3>
  825.         <reserved2> 0 </reserved2>
  826.         <reserved1> 0 </reserved1>
  827.         <enabled> <true /> </enabled>
  828.         <rect>
  829.             <left>20</left>
  830.             <top>91</top>
  831.             <right>208</right>
  832.             <bottom>107</bottom>
  833.         </rect>
  834.         <style>radiobutton</style>
  835.         <showName> <true /> </showName>
  836.         <highlight> <false /> </highlight>
  837.         <autoHighlight> <true /> </autoHighlight>
  838.         <sharedHighlight> <true /> </sharedHighlight>
  839.         <family>1</family>
  840.         <titleWidth>0</titleWidth>
  841.         <icon>0</icon>
  842.         <textAlign>center</textAlign>
  843.         <font>Charcoal</font>
  844.         <textSize>12</textSize>
  845.         <textStyle>plain</textStyle>
  846.         <name>Show dialog 'Select File'</name>
  847.         <script>on mouseEnter
  848. FullBalloons "ShowDirect","Show dialog 'Select File'"&return&return&"If selected, shows an"&&┬¼
  849. "Open File dialog when starting an optimize, check, mark or convert job."
  850. end mouseEnter</script>
  851.     </part>
  852.     <part>
  853.         <id>29</id>
  854.         <type>button</type>
  855.         <visible> <false /> </visible>
  856.         <reserved5> 0 </reserved5>
  857.         <reserved4> 0 </reserved4>
  858.         <reserved3> 0 </reserved3>
  859.         <reserved2> 0 </reserved2>
  860.         <reserved1> 0 </reserved1>
  861.         <enabled> <true /> </enabled>
  862.         <rect>
  863.             <left>20</left>
  864.             <top>109</top>
  865.             <right>227</right>
  866.             <bottom>125</bottom>
  867.         </rect>
  868.         <style>radiobutton</style>
  869.         <showName> <true /> </showName>
  870.         <highlight> <false /> </highlight>
  871.         <autoHighlight> <true /> </autoHighlight>
  872.         <sharedHighlight> <true /> </sharedHighlight>
  873.         <family>1</family>
  874.         <titleWidth>0</titleWidth>
  875.         <icon>0</icon>
  876.         <textAlign>center</textAlign>
  877.         <font>Charcoal</font>
  878.         <textSize>12</textSize>
  879.         <textStyle>plain</textStyle>
  880.         <name>Show dialog 'Select Folder'</name>
  881.         <script>on mouseEnter
  882. FullBalloons "ShowDirect","Show dialog 'Select Folder'"&return&return&"If selected, shows an"&&┬¼
  883. "Open Folder dialog when starting an optimize, check, mark or convert job."
  884. end mouseEnter</script>
  885.     </part>
  886.     <part>
  887.         <id>31</id>
  888.         <type>field</type>
  889.         <visible> <false /> </visible>
  890.         <dontWrap> <false /> </dontWrap>
  891.         <dontSearch> <false /> </dontSearch>
  892.         <sharedText> <false /> </sharedText>
  893.         <fixedLineHeight> <true /> </fixedLineHeight>
  894.         <autoTab> <false /> </autoTab>
  895.         <lockText> <true /> </lockText>
  896.         <rect>
  897.             <left>13</left>
  898.             <top>66</top>
  899.             <right>25</right>
  900.             <bottom>283</bottom>
  901.         </rect>
  902.         <style>transparent</style>
  903.         <autoSelect> <false /> </autoSelect>
  904.         <showLines> <false /> </showLines>
  905.         <wideMargins> <false /> </wideMargins>
  906.         <multipleLines> <false /> </multipleLines>
  907.         <reservedFamily> 0 </reservedFamily>
  908.         <titleWidth>0</titleWidth>
  909.         <icon>0</icon>
  910.         <textAlign>left</textAlign>
  911.         <font>Geneva</font>
  912.         <textSize>6</textSize>
  913.         <textStyle>plain</textStyle>
  914.         <textHeight>6</textHeight>
  915.         <name>Fake1</name>
  916.         <script></script>
  917.     </part>
  918.     <part>
  919.         <id>68</id>
  920.         <type>button</type>
  921.         <visible> <false /> </visible>
  922.         <reserved5> 0 </reserved5>
  923.         <reserved4> 0 </reserved4>
  924.         <reserved3> 0 </reserved3>
  925.         <reserved2> 0 </reserved2>
  926.         <reserved1> 0 </reserved1>
  927.         <enabled> <true /> </enabled>
  928.         <rect>
  929.             <left>20</left>
  930.             <top>180</top>
  931.             <right>247</right>
  932.             <bottom>193</bottom>
  933.         </rect>
  934.         <style>checkbox</style>
  935.         <showName> <true /> </showName>
  936.         <highlight> <false /> </highlight>
  937.         <autoHighlight> <true /> </autoHighlight>
  938.         <sharedHighlight> <true /> </sharedHighlight>
  939.         <family>0</family>
  940.         <titleWidth>0</titleWidth>
  941.         <icon>0</icon>
  942.         <textAlign>center</textAlign>
  943.         <font>Charcoal</font>
  944.         <textSize>12</textSize>
  945.         <textStyle>plain</textStyle>
  946.         <name>Do not check for ALT attributes</name>
  947.         <script>on mouseEnter
  948. FullBalloons "ShowDirect","Do not check for ALT attributes"&return&return&"If checked,"&&┬¼
  949. "prevents HTML Optimizer from checking the ALT attributes within IMG tags."&return&┬¼
  950. "Why would you prefer that? When you have so many missing ALT attributes that it would be"&&┬¼
  951. "disturbing to mention them all."
  952. end mouseEnter</script>
  953.     </part>
  954.     <part>
  955.         <id>30</id>
  956.         <type>button</type>
  957.         <visible> <false /> </visible>
  958.         <reserved5> 0 </reserved5>
  959.         <reserved4> 0 </reserved4>
  960.         <reserved3> 0 </reserved3>
  961.         <reserved2> 0 </reserved2>
  962.         <reserved1> 0 </reserved1>
  963.         <enabled> <true /> </enabled>
  964.         <rect>
  965.             <left>20</left>
  966.             <top>73</top>
  967.             <right>212</right>
  968.             <bottom>89</bottom>
  969.         </rect>
  970.         <style>radiobutton</style>
  971.         <showName> <true /> </showName>
  972.         <highlight> <true /> </highlight>
  973.         <autoHighlight> <true /> </autoHighlight>
  974.         <sharedHighlight> <true /> </sharedHighlight>
  975.         <family>1</family>
  976.         <titleWidth>0</titleWidth>
  977.         <icon>0</icon>
  978.         <textAlign>center</textAlign>
  979.         <font>Charcoal</font>
  980.         <textSize>12</textSize>
  981.         <textStyle>plain</textStyle>
  982.         <name>Ask what dialog to show</name>
  983.         <script>on mouseEnter
  984. FullBalloons "ShowDirect","Ask what dialog to show"&return&return&"If selected, offers you"&&┬¼
  985. "a choice between showing either an Open File or an Open Folder dialog when starting an"&&┬¼
  986. "optimize, check, mark or convert job."
  987. end mouseEnter</script>
  988.     </part>
  989.     <part>
  990.         <id>33</id>
  991.         <type>field</type>
  992.         <visible> <false /> </visible>
  993.         <dontWrap> <false /> </dontWrap>
  994.         <dontSearch> <false /> </dontSearch>
  995.         <sharedText> <false /> </sharedText>
  996.         <fixedLineHeight> <true /> </fixedLineHeight>
  997.         <autoTab> <false /> </autoTab>
  998.         <lockText> <true /> </lockText>
  999.         <rect>
  1000.             <left>248</left>
  1001.             <top>66</top>
  1002.             <right>260</right>
  1003.             <bottom>192</bottom>
  1004.         </rect>
  1005.         <style>transparent</style>
  1006.         <autoSelect> <false /> </autoSelect>
  1007.         <showLines> <false /> </showLines>
  1008.         <wideMargins> <false /> </wideMargins>
  1009.         <multipleLines> <false /> </multipleLines>
  1010.         <reservedFamily> 0 </reservedFamily>
  1011.         <titleWidth>0</titleWidth>
  1012.         <icon>0</icon>
  1013.         <textAlign>left</textAlign>
  1014.         <font>Geneva</font>
  1015.         <textSize>6</textSize>
  1016.         <textStyle>plain</textStyle>
  1017.         <textHeight>6</textHeight>
  1018.         <name>Fake2</name>
  1019.         <script></script>
  1020.     </part>
  1021.     <part>
  1022.         <id>34</id>
  1023.         <type>button</type>
  1024.         <visible> <false /> </visible>
  1025.         <reserved5> 0 </reserved5>
  1026.         <reserved4> 0 </reserved4>
  1027.         <reserved3> 0 </reserved3>
  1028.         <reserved2> 0 </reserved2>
  1029.         <reserved1> 0 </reserved1>
  1030.         <enabled> <true /> </enabled>
  1031.         <rect>
  1032.             <left>20</left>
  1033.             <top>194</top>
  1034.             <right>285</right>
  1035.             <bottom>210</bottom>
  1036.         </rect>
  1037.         <style>checkbox</style>
  1038.         <showName> <true /> </showName>
  1039.         <highlight> <true /> </highlight>
  1040.         <autoHighlight> <true /> </autoHighlight>
  1041.         <sharedHighlight> <true /> </sharedHighlight>
  1042.         <family>0</family>
  1043.         <titleWidth>0</titleWidth>
  1044.         <icon>0</icon>
  1045.         <textAlign>center</textAlign>
  1046.         <font>Charcoal</font>
  1047.         <textSize>12</textSize>
  1048.         <textStyle>plain</textStyle>
  1049.         <name>Do not check for optional End Tags</name>
  1050.         <script>on mouseEnter
  1051. FullBalloons "ShowDirect","Do not check for optional End Tags"&return&return&"If checked,"&&┬¼
  1052. "optional End Tags are not checked for being present, e.g. </OPTION> or </P>, as these are not mandatory"&&┬¼
  1053. "according to the standards of HTML version 4 (but they are again with XHTML)."
  1054. end mouseEnter</script>
  1055.     </part>
  1056.     <part>
  1057.         <id>35</id>
  1058.         <type>button</type>
  1059.         <visible> <false /> </visible>
  1060.         <reserved5> 0 </reserved5>
  1061.         <reserved4> 0 </reserved4>
  1062.         <reserved3> 0 </reserved3>
  1063.         <reserved2> 0 </reserved2>
  1064.         <reserved1> 0 </reserved1>
  1065.         <enabled> <true /> </enabled>
  1066.         <rect>
  1067.             <left>311</left>
  1068.             <top>192</top>
  1069.             <right>389</right>
  1070.             <bottom>210</bottom>
  1071.         </rect>
  1072.         <style>transparent</style>
  1073.         <showName> <true /> </showName>
  1074.         <highlight> <false /> </highlight>
  1075.         <autoHighlight> <true /> </autoHighlight>
  1076.         <sharedHighlight> <true /> </sharedHighlight>
  1077.         <family>0</family>
  1078.         <titleWidth>0</titleWidth>
  1079.         <icon>0</icon>
  1080.         <textAlign>center</textAlign>
  1081.         <font>Charcoal</font>
  1082.         <textSize>12</textSize>
  1083.         <textStyle>plain</textStyle>
  1084.         <name>Save</name>
  1085.         <script>on mouseEnter
  1086. FullBalloons "ShowDirect","Save"&return&return&"Saves the preference settings which you"&&┬¼
  1087. "have currently made."
  1088. end mouseEnter
  1089.  
  1090. on mouseUp
  1091. FullBalloons "remove"
  1092. lock screen
  1093. hidePrefs
  1094. AddColor colorCard,irisClose,25
  1095. unlock screen with iris close fast
  1096. end mouseUp</script>
  1097.     </part>
  1098.     <part>
  1099.         <id>60</id>
  1100.         <type>button</type>
  1101.         <visible> <false /> </visible>
  1102.         <reserved5> 0 </reserved5>
  1103.         <reserved4> 0 </reserved4>
  1104.         <reserved3> 0 </reserved3>
  1105.         <reserved2> 0 </reserved2>
  1106.         <reserved1> 0 </reserved1>
  1107.         <enabled> <true /> </enabled>
  1108.         <rect>
  1109.             <left>343</left>
  1110.             <top>88</top>
  1111.             <right>387</right>
  1112.             <bottom>105</bottom>
  1113.         </rect>
  1114.         <style>radiobutton</style>
  1115.         <showName> <true /> </showName>
  1116.         <highlight> <false /> </highlight>
  1117.         <autoHighlight> <true /> </autoHighlight>
  1118.         <sharedHighlight> <true /> </sharedHighlight>
  1119.         <family>2</family>
  1120.         <titleWidth>0</titleWidth>
  1121.         <icon>0</icon>
  1122.         <textAlign>center</textAlign>
  1123.         <font>Charcoal</font>
  1124.         <textSize>12</textSize>
  1125.         <textStyle>plain</textStyle>
  1126.         <name>No</name>
  1127.         <script>on mouseEnter
  1128. FullBalloons "ShowDirect","Other Creator: No"&return&return&"If selected, disables the Creator code menu."
  1129. end mouseEnter
  1130.  
  1131. on mouseDown
  1132. FullBalloons "remove"
  1133. pass mouseDown
  1134. end mouseDown
  1135.  
  1136. on mouseUp
  1137. disable btn id 53
  1138. answer "Note that if you open an optimized page in the HTML Editor that originally created the page,"&&┬¼
  1139. "most of the optimizing can be undone because the Editor adds its own formatting again!"
  1140. end mouseUp</script>
  1141.     </part>
  1142.     <part>
  1143.         <id>53</id>
  1144.         <type>button</type>
  1145.         <visible> <false /> </visible>
  1146.         <reserved5> 0 </reserved5>
  1147.         <reserved4> 0 </reserved4>
  1148.         <reserved3> 0 </reserved3>
  1149.         <reserved2> 0 </reserved2>
  1150.         <reserved1> 0 </reserved1>
  1151.         <enabled> <true /> </enabled>
  1152.         <rect>
  1153.             <left>274</left>
  1154.             <top>110</top>
  1155.             <right>386</right>
  1156.             <bottom>129</bottom>
  1157.         </rect>
  1158.         <style>popup</style>
  1159.         <showName> <false /> </showName>
  1160.         <highlight> <false /> </highlight>
  1161.         <autoHighlight> <true /> </autoHighlight>
  1162.         <sharedHighlight> <true /> </sharedHighlight>
  1163.         <family>0</family>
  1164.         <titleWidth>0</titleWidth>
  1165.         <selectedLines>
  1166.             <integer>1</integer>
  1167.         </selectedLines>
  1168.         <textAlign>center</textAlign>
  1169.         <font>Charcoal</font>
  1170.         <textSize>12</textSize>
  1171.         <textStyle>plain</textStyle>
  1172.         <name></name>
  1173.         <script>on mouseEnter
  1174. put return&return&"This menu shows the Creator codes which you can allocate to your"&&┬¼
  1175. "optimized web pages. You can modify this menu, i.e. add or remove Creator codes."&┬¼
  1176. return&"Note: If you replace a page by one with a new code, the older code is retained."┬¼
  1177. into text1
  1178. if enabled of me then
  1179. FullBalloons "ShowDirect","Creator Menu"&text1
  1180. else
  1181. FullBalloons "ShowDirect","Creator Menu (disabled)"&text1
  1182. end if
  1183. end mouseEnter
  1184.  
  1185. on mouseUp
  1186. if selectedText of me is "-" then
  1187. selectDefault
  1188. exit mouseUp
  1189. end if
  1190. if the optionKey is up then
  1191. if selectedText of me is "Add/RemoveΓǪ" then
  1192. answer "Do you want to add a code or remove one?" with "Cancel","Remove","Add"
  1193. if it is "Cancel" then
  1194. selectDefault
  1195. exit mouseUp
  1196. end if
  1197. if it is "Add" then
  1198. set the itemDelimiter to colon
  1199. put number of lines of me into numLines
  1200. answer file "Choose an application or file to get its creator code:"
  1201. if the result is "Cancel" or it is empty then
  1202. selectDefault
  1203. set the itemDelimiter to comma
  1204. exit mouseUp
  1205. else
  1206. put getCreator(it)&"  ("&last item of it into temp
  1207. if char 1 of last word of temp is an integer and char 2 of last word of temp is "."
  1208. then delete last word of temp
  1209. if last char of temp is space then delete last char of temp
  1210. put temp&")"&return before line numLines-1 of me
  1211. select line numLines-1 of me
  1212. end if
  1213. set the itemDelimiter to comma
  1214. else
  1215. answer "Hold down the Option key while selecting the code that you wish to remove."&┬¼
  1216. return&"You can't remove the SimpleText creator code "&quote&"ttxt"&quote&" or"&&┬¼
  1217. "the BBEdit creator code "&quote&"R*ch"&quote&"."
  1218. selectDefault
  1219. exit mouseUp
  1220. end if
  1221. end if
  1222. else
  1223. if word 1 of value of selectedLine of me Γëá "ttxt" and┬¼
  1224. word 1 of value of selectedLine of me Γëá "R*ch" and┬¼
  1225. length of word 1 of value of selectedLine of me = 4
  1226. then delete selectedLine of me
  1227. selectDefault
  1228. end if
  1229. end mouseUp</script>
  1230.     </part>
  1231.     <part>
  1232.         <id>69</id>
  1233.         <type>button</type>
  1234.         <visible> <false /> </visible>
  1235.         <reserved5> 0 </reserved5>
  1236.         <reserved4> 0 </reserved4>
  1237.         <reserved3> 0 </reserved3>
  1238.         <reserved2> 0 </reserved2>
  1239.         <reserved1> 0 </reserved1>
  1240.         <enabled> <true /> </enabled>
  1241.         <rect>
  1242.             <left>404</left>
  1243.             <top>238</top>
  1244.             <right>416</right>
  1245.             <bottom>250</bottom>
  1246.         </rect>
  1247.         <style>rectangle</style>
  1248.         <showName> <false /> </showName>
  1249.         <highlight> <false /> </highlight>
  1250.         <autoHighlight> <false /> </autoHighlight>
  1251.         <sharedHighlight> <true /> </sharedHighlight>
  1252.         <family>0</family>
  1253.         <titleWidth>0</titleWidth>
  1254.         <icon>0</icon>
  1255.         <textAlign>center</textAlign>
  1256.         <font>Charcoal</font>
  1257.         <textSize>12</textSize>
  1258.         <textStyle>plain</textStyle>
  1259.         <name>makeFolder</name>
  1260.         <script></script>
  1261.     </part>
  1262.     <part>
  1263.         <id>36</id>
  1264.         <type>field</type>
  1265.         <visible> <false /> </visible>
  1266.         <dontWrap> <false /> </dontWrap>
  1267.         <dontSearch> <false /> </dontSearch>
  1268.         <sharedText> <false /> </sharedText>
  1269.         <fixedLineHeight> <true /> </fixedLineHeight>
  1270.         <autoTab> <false /> </autoTab>
  1271.         <lockText> <true /> </lockText>
  1272.         <rect>
  1273.             <left>291</left>
  1274.             <top>186</top>
  1275.             <right>303</right>
  1276.             <bottom>284</bottom>
  1277.         </rect>
  1278.         <style>transparent</style>
  1279.         <autoSelect> <false /> </autoSelect>
  1280.         <showLines> <false /> </showLines>
  1281.         <wideMargins> <false /> </wideMargins>
  1282.         <multipleLines> <false /> </multipleLines>
  1283.         <reservedFamily> 0 </reservedFamily>
  1284.         <titleWidth>0</titleWidth>
  1285.         <icon>0</icon>
  1286.         <textAlign>left</textAlign>
  1287.         <font>Geneva</font>
  1288.         <textSize>6</textSize>
  1289.         <textStyle>plain</textStyle>
  1290.         <textHeight>6</textHeight>
  1291.         <name>Fake3</name>
  1292.         <script></script>
  1293.     </part>
  1294.     <part>
  1295.         <id>61</id>
  1296.         <type>button</type>
  1297.         <visible> <false /> </visible>
  1298.         <reserved5> 0 </reserved5>
  1299.         <reserved4> 0 </reserved4>
  1300.         <reserved3> 0 </reserved3>
  1301.         <reserved2> 0 </reserved2>
  1302.         <reserved1> 0 </reserved1>
  1303.         <enabled> <true /> </enabled>
  1304.         <rect>
  1305.             <left>281</left>
  1306.             <top>88</top>
  1307.             <right>332</right>
  1308.             <bottom>105</bottom>
  1309.         </rect>
  1310.         <style>radiobutton</style>
  1311.         <showName> <true /> </showName>
  1312.         <highlight> <true /> </highlight>
  1313.         <autoHighlight> <true /> </autoHighlight>
  1314.         <sharedHighlight> <true /> </sharedHighlight>
  1315.         <family>2</family>
  1316.         <titleWidth>0</titleWidth>
  1317.         <icon>0</icon>
  1318.         <textAlign>center</textAlign>
  1319.         <font>Charcoal</font>
  1320.         <textSize>12</textSize>
  1321.         <textStyle>plain</textStyle>
  1322.         <name>Yes</name>
  1323.         <script>on mouseEnter
  1324. FullBalloons "ShowDirect","Other Creator: Yes"&return&return&"If selected,"&&┬¼
  1325. "enables the Creator code menu, enabling you to allocate a different Creator code to your"&&┬¼
  1326. "optimized web pages, so that they are opened in the application concerned when"&&┬¼
  1327. "double-clicked."
  1328. end mouseEnter
  1329.  
  1330. on mouseDown
  1331. FullBalloons "remove"
  1332. pass mouseDown
  1333. end mouseDown
  1334.  
  1335. on mouseUp
  1336. selectDefault
  1337. enable btn id 53
  1338. end mouseUp</script>
  1339.     </part>
  1340.     <part>
  1341.         <id>37</id>
  1342.         <type>button</type>
  1343.         <visible> <false /> </visible>
  1344.         <reserved5> 0 </reserved5>
  1345.         <reserved4> 0 </reserved4>
  1346.         <reserved3> 0 </reserved3>
  1347.         <reserved2> 0 </reserved2>
  1348.         <reserved1> 0 </reserved1>
  1349.         <enabled> <true /> </enabled>
  1350.         <rect>
  1351.             <left>314</left>
  1352.             <top>227</top>
  1353.             <right>388</right>
  1354.             <bottom>246</bottom>
  1355.         </rect>
  1356.         <style>standard</style>
  1357.         <showName> <true /> </showName>
  1358.         <highlight> <false /> </highlight>
  1359.         <autoHighlight> <true /> </autoHighlight>
  1360.         <sharedHighlight> <true /> </sharedHighlight>
  1361.         <family>0</family>
  1362.         <titleWidth>0</titleWidth>
  1363.         <icon>0</icon>
  1364.         <textAlign>center</textAlign>
  1365.         <font>Charcoal</font>
  1366.         <textSize>12</textSize>
  1367.         <textStyle>plain</textStyle>
  1368.         <name>Default</name>
  1369.         <script>on mouseEnter
  1370. FullBalloons "ShowDirect","Default"&return&return&"Cancels the preferences settings which"&&┬¼
  1371. "you have made and restores them to the situation when you installed HTML Optimizer."
  1372. end mouseEnter
  1373.  
  1374. on mouseUp
  1375. lock screen
  1376. set hilite of btn id 30 to true
  1377. set hilite of btn id 34 to true
  1378. set hilite of btn id 39 to false
  1379. set hilite of btn id 44 to false
  1380. set hilite of btn id 60 to false
  1381. set hilite of btn id 61 to true
  1382. set hilite of btn id 68 to false
  1383. set hilite of btn id 96 to false
  1384. set hilite of btn id 119 to true
  1385. set hilite of btn id 127 to true
  1386. FullBalloons "off"
  1387. select line 1 of btn id 53
  1388. enable btn id 53
  1389. unlock screen
  1390. end mouseUp</script>
  1391.     </part>
  1392.     <part>
  1393.         <id>38</id>
  1394.         <type>button</type>
  1395.         <visible> <false /> </visible>
  1396.         <reserved5> 0 </reserved5>
  1397.         <reserved4> 0 </reserved4>
  1398.         <reserved3> 0 </reserved3>
  1399.         <reserved2> 0 </reserved2>
  1400.         <reserved1> 0 </reserved1>
  1401.         <enabled> <true /> </enabled>
  1402.         <rect>
  1403.             <left>314</left>
  1404.             <top>259</top>
  1405.             <right>388</right>
  1406.             <bottom>278</bottom>
  1407.         </rect>
  1408.         <style>standard</style>
  1409.         <showName> <true /> </showName>
  1410.         <highlight> <false /> </highlight>
  1411.         <autoHighlight> <true /> </autoHighlight>
  1412.         <sharedHighlight> <true /> </sharedHighlight>
  1413.         <family>0</family>
  1414.         <titleWidth>0</titleWidth>
  1415.         <icon>0</icon>
  1416.         <textAlign>center</textAlign>
  1417.         <font>Charcoal</font>
  1418.         <textSize>12</textSize>
  1419.         <textStyle>plain</textStyle>
  1420.         <name>Cancel</name>
  1421.         <script>on mouseEnter
  1422. FullBalloons "ShowDirect","Cancel"&return&return&"Cancels the preference settings which"&&┬¼
  1423. "you have currently made."
  1424. end mouseEnter
  1425.  
  1426. on mouseUp
  1427. global hi28,hi29,hi30,hi34,hi39,hi44,hi60,hi61,hi68,hi96,hi119,hi127,en53,li53
  1428. FullBalloons "remove"
  1429. lock screen
  1430. set hilite of btn id 28 to hi28
  1431. set hilite of btn id 29 to hi29
  1432. set hilite of btn id 30 to hi30
  1433. set hilite of btn id 34 to hi34
  1434. set hilite of btn id 39 to hi39
  1435. set hilite of btn id 44 to hi44
  1436. set hilite of btn id 60 to hi60
  1437. set hilite of btn id 61 to hi61
  1438. set hilite of btn id 68 to hi68
  1439. set hilite of btn id 96 to hi96
  1440. set hilite of btn id 119 to hi119
  1441. set hilite of btn id 127 to hi127
  1442. if hilite of btn id 96 then
  1443. FullBalloons "on"
  1444. else FullBalloons "off"
  1445. if en53 then enable btn id 53 else disable btn id 53
  1446. if length of word 1 of value of li53 is 4 then
  1447. select li53
  1448. else  select last line of btn id 53
  1449. selectDefault
  1450. hidePrefs
  1451. AddColor colorCard,irisClose,25
  1452. unlock screen with iris close fast
  1453. end mouseUp</script>
  1454.     </part>
  1455.     <part>
  1456.         <id>39</id>
  1457.         <type>button</type>
  1458.         <visible> <false /> </visible>
  1459.         <reserved5> 0 </reserved5>
  1460.         <reserved4> 0 </reserved4>
  1461.         <reserved3> 0 </reserved3>
  1462.         <reserved2> 0 </reserved2>
  1463.         <reserved1> 0 </reserved1>
  1464.         <enabled> <true /> </enabled>
  1465.         <rect>
  1466.             <left>20</left>
  1467.             <top>228</top>
  1468.             <right>300</right>
  1469.             <bottom>243</bottom>
  1470.         </rect>
  1471.         <style>checkbox</style>
  1472.         <showName> <true /> </showName>
  1473.         <highlight> <false /> </highlight>
  1474.         <autoHighlight> <true /> </autoHighlight>
  1475.         <sharedHighlight> <true /> </sharedHighlight>
  1476.         <family>0</family>
  1477.         <titleWidth>0</titleWidth>
  1478.         <icon>0</icon>
  1479.         <textAlign>center</textAlign>
  1480.         <font>Charcoal</font>
  1481.         <textSize>12</textSize>
  1482.         <textStyle>plain</textStyle>
  1483.         <name>Convert special characters on-the-fly</name>
  1484.         <script>on mouseEnter
  1485. FullBalloons "ShowDirect","Convert special characters on-the-fly"&return&return&┬¼
  1486. "If checked, conversion of special characters is executed automatically before you start an optimizing job."
  1487. end mouseEnter</script>
  1488.     </part>
  1489.     <part>
  1490.         <id>44</id>
  1491.         <type>button</type>
  1492.         <visible> <false /> </visible>
  1493.         <reserved5> 0 </reserved5>
  1494.         <reserved4> 0 </reserved4>
  1495.         <reserved3> 0 </reserved3>
  1496.         <reserved2> 0 </reserved2>
  1497.         <reserved1> 0 </reserved1>
  1498.         <enabled> <true /> </enabled>
  1499.         <rect>
  1500.             <left>20</left>
  1501.             <top>144</top>
  1502.             <right>236</right>
  1503.             <bottom>159</bottom>
  1504.         </rect>
  1505.         <style>checkbox</style>
  1506.         <showName> <true /> </showName>
  1507.         <highlight> <false /> </highlight>
  1508.         <autoHighlight> <true /> </autoHighlight>
  1509.         <sharedHighlight> <true /> </sharedHighlight>
  1510.         <family>0</family>
  1511.         <titleWidth>0</titleWidth>
  1512.         <icon>0</icon>
  1513.         <textAlign>center</textAlign>
  1514.         <font>Charcoal</font>
  1515.         <textSize>12</textSize>
  1516.         <textStyle>plain</textStyle>
  1517.         <name>Overwrite previous log data</name>
  1518.         <script>on mouseEnter
  1519. FullBalloons "ShowDirect","Overwrite previous log data"&return&return&"If checked,"&&┬¼
  1520. "replaces the existing data in the log with the current log data."
  1521. end mouseEnter</script>
  1522.     </part>
  1523.     <part>
  1524.         <id>86</id>
  1525.         <type>field</type>
  1526.         <visible> <false /> </visible>
  1527.         <dontWrap> <false /> </dontWrap>
  1528.         <dontSearch> <true /> </dontSearch>
  1529.         <sharedText> <false /> </sharedText>
  1530.         <fixedLineHeight> <false /> </fixedLineHeight>
  1531.         <autoTab> <false /> </autoTab>
  1532.         <lockText> <true /> </lockText>
  1533.         <rect>
  1534.             <left>404</left>
  1535.             <top>226</top>
  1536.             <right>416</right>
  1537.             <bottom>238</bottom>
  1538.         </rect>
  1539.         <style>rectangle</style>
  1540.         <autoSelect> <false /> </autoSelect>
  1541.         <showLines> <false /> </showLines>
  1542.         <wideMargins> <false /> </wideMargins>
  1543.         <multipleLines> <false /> </multipleLines>
  1544.         <reservedFamily> 0 </reservedFamily>
  1545.         <titleWidth>0</titleWidth>
  1546.         <icon>0</icon>
  1547.         <textAlign>left</textAlign>
  1548.         <font>Geneva</font>
  1549.         <textSize>9</textSize>
  1550.         <textStyle>plain</textStyle>
  1551.         <textHeight>12</textHeight>
  1552.         <name>storePath</name>
  1553.         <script>on mouseUp
  1554. hide me
  1555. end mouseUp
  1556. </script>
  1557.     </part>
  1558.     <part>
  1559.         <id>46</id>
  1560.         <type>button</type>
  1561.         <visible> <false /> </visible>
  1562.         <reserved5> 0 </reserved5>
  1563.         <reserved4> 0 </reserved4>
  1564.         <reserved3> 0 </reserved3>
  1565.         <reserved2> 0 </reserved2>
  1566.         <reserved1> 0 </reserved1>
  1567.         <enabled> <true /> </enabled>
  1568.         <rect>
  1569.             <left>404</left>
  1570.             <top>260</top>
  1571.             <right>416</right>
  1572.             <bottom>272</bottom>
  1573.         </rect>
  1574.         <style>rectangle</style>
  1575.         <showName> <false /> </showName>
  1576.         <highlight> <false /> </highlight>
  1577.         <autoHighlight> <false /> </autoHighlight>
  1578.         <sharedHighlight> <true /> </sharedHighlight>
  1579.         <family>0</family>
  1580.         <titleWidth>0</titleWidth>
  1581.         <icon>0</icon>
  1582.         <textAlign>center</textAlign>
  1583.         <font>Charcoal</font>
  1584.         <textSize>12</textSize>
  1585.         <textStyle>plain</textStyle>
  1586.         <name>chooseFolderPath</name>
  1587.         <script></script>
  1588.     </part>
  1589.     <part>
  1590.         <id>70</id>
  1591.         <type>field</type>
  1592.         <visible> <false /> </visible>
  1593.         <dontWrap> <false /> </dontWrap>
  1594.         <dontSearch> <false /> </dontSearch>
  1595.         <sharedText> <false /> </sharedText>
  1596.         <fixedLineHeight> <false /> </fixedLineHeight>
  1597.         <autoTab> <false /> </autoTab>
  1598.         <lockText> <true /> </lockText>
  1599.         <rect>
  1600.             <left>17</left>
  1601.             <top>52</top>
  1602.             <right>154</right>
  1603.             <bottom>55</bottom>
  1604.         </rect>
  1605.         <style>opaque</style>
  1606.         <autoSelect> <false /> </autoSelect>
  1607.         <showLines> <false /> </showLines>
  1608.         <wideMargins> <false /> </wideMargins>
  1609.         <multipleLines> <false /> </multipleLines>
  1610.         <reservedFamily> 0 </reservedFamily>
  1611.         <titleWidth>0</titleWidth>
  1612.         <icon>0</icon>
  1613.         <textAlign>left</textAlign>
  1614.         <font>Geneva</font>
  1615.         <textSize>12</textSize>
  1616.         <textStyle>plain</textStyle>
  1617.         <textHeight>16</textHeight>
  1618.         <name>SmallBlueLine1</name>
  1619.         <script>on mouseUp
  1620. beep
  1621. end mouseUp
  1622. </script>
  1623.     </part>
  1624.     <part>
  1625.         <id>82</id>
  1626.         <type>field</type>
  1627.         <visible> <true /> </visible>
  1628.         <dontWrap> <false /> </dontWrap>
  1629.         <dontSearch> <true /> </dontSearch>
  1630.         <sharedText> <false /> </sharedText>
  1631.         <fixedLineHeight> <true /> </fixedLineHeight>
  1632.         <autoTab> <false /> </autoTab>
  1633.         <lockText> <true /> </lockText>
  1634.         <rect>
  1635.             <left>5</left>
  1636.             <top>36</top>
  1637.             <right>410</right>
  1638.             <bottom>293</bottom>
  1639.         </rect>
  1640.         <style>opaque</style>
  1641.         <autoSelect> <false /> </autoSelect>
  1642.         <showLines> <false /> </showLines>
  1643.         <wideMargins> <false /> </wideMargins>
  1644.         <multipleLines> <false /> </multipleLines>
  1645.         <reservedFamily> 0 </reservedFamily>
  1646.         <titleWidth>0</titleWidth>
  1647.         <icon>0</icon>
  1648.         <textAlign>center</textAlign>
  1649.         <font>Geneva</font>
  1650.         <textSize>12</textSize>
  1651.         <textStyle>plain</textStyle>
  1652.         <textHeight>16</textHeight>
  1653.         <name>Welcome</name>
  1654.         <script>on mouseUp
  1655. AddColor colorCard, stamp,0
  1656. end mouseUp</script>
  1657.     </part>
  1658.     <part>
  1659.         <id>83</id>
  1660.         <type>button</type>
  1661.         <visible> <true /> </visible>
  1662.         <reserved5> 0 </reserved5>
  1663.         <reserved4> 0 </reserved4>
  1664.         <reserved3> 0 </reserved3>
  1665.         <reserved2> 0 </reserved2>
  1666.         <reserved1> 0 </reserved1>
  1667.         <enabled> <false /> </enabled>
  1668.         <rect>
  1669.             <left>82</left>
  1670.             <top>230</top>
  1671.             <right>167</right>
  1672.             <bottom>249</bottom>
  1673.         </rect>
  1674.         <style>standard</style>
  1675.         <showName> <true /> </showName>
  1676.         <highlight> <false /> </highlight>
  1677.         <autoHighlight> <true /> </autoHighlight>
  1678.         <sharedHighlight> <true /> </sharedHighlight>
  1679.         <family>0</family>
  1680.         <titleWidth>0</titleWidth>
  1681.         <icon>0</icon>
  1682.         <textAlign>center</textAlign>
  1683.         <font>Charcoal</font>
  1684.         <textSize>12</textSize>
  1685.         <textStyle>plain</textStyle>
  1686.         <name>RegisterΓǪ</name>
  1687.         <script>on mouseEnter
  1688. FullBalloons "ShowDirect","RegisterΓǪ"&return&return&"Shows info on how to pay the"&&┬¼
  1689. "US$ 5 shareware fee and how to enter the registration code."
  1690. end mouseEnter
  1691.  
  1692. on mouseUp
  1693. disable btn "RegisterΓǪ"
  1694. disable btn "Not yet"
  1695. answer "The shareware fee for HTML Optimizer is US$ 5.00"&return&┬¼
  1696. "After payment you will receive your registration code." with "Cancel","CodeΓǪ","How to PayΓǪ"
  1697. if it is "How to PayΓǪ" then
  1698. lock screen
  1699. set scroll of cd fld "Register" to 0
  1700. show cd fld "Register"
  1701. show cd fld "Cover"
  1702. show btn id 109
  1703. show btn id 110
  1704. show btn id 111
  1705. Addcolor colorCard,barnDoorOpen,20
  1706. unlock screen with barn door open fast
  1707. end if
  1708. if it is "CodeΓǪ" then
  1709. get PassWord("Please enter your registration code:")
  1710. if it contains "error" then
  1711. beep
  1712. answer "Sorry, an error has occurred."
  1713. exit mouseUp
  1714. end if
  1715. if it is not 0 and it is not "Cancel" then
  1716. if it is not btn id 84 then
  1717. play "Boing" a5 a4 a3w
  1718. else
  1719. repeat
  1720. ask "Please enter your name:"
  1721. if the result is "Cancel" then
  1722. put "Registered to: <anonymous>" into line 6 of cd fld "AboutΓǪ"
  1723. exit repeat
  1724. end if
  1725. if it is not empty then
  1726. put "Registered to:  "&it into line 6 of cd fld "AboutΓǪ"
  1727. exit repeat
  1728. else next repeat
  1729. end repeat
  1730. put WriteReadPrefs("write","HTML Optimizer Preferences",line 6 of cd fld "AboutΓǪ") into this
  1731. put "registered" into cd fld id 89
  1732. answer "Thank you for registering!"
  1733. enable btn "Mark TagsΓǪ"
  1734. send mouseUp to btn "Not Yet"
  1735. end if
  1736. end if
  1737. end if
  1738. enable btn "RegisterΓǪ"
  1739. enable btn "Not yet"
  1740. end mouseUp
  1741. </script>
  1742.     </part>
  1743.     <part>
  1744.         <id>84</id>
  1745.         <type>button</type>
  1746.         <visible> <true /> </visible>
  1747.         <reserved5> 0 </reserved5>
  1748.         <reserved4> 0 </reserved4>
  1749.         <reserved3> 0 </reserved3>
  1750.         <reserved2> 0 </reserved2>
  1751.         <reserved1> 0 </reserved1>
  1752.         <enabled> <false /> </enabled>
  1753.         <rect>
  1754.             <left>253</left>
  1755.             <top>230</top>
  1756.             <right>338</right>
  1757.             <bottom>249</bottom>
  1758.         </rect>
  1759.         <style>standard</style>
  1760.         <showName> <true /> </showName>
  1761.         <highlight> <false /> </highlight>
  1762.         <autoHighlight> <true /> </autoHighlight>
  1763.         <sharedHighlight> <true /> </sharedHighlight>
  1764.         <family>0</family>
  1765.         <titleWidth>0</titleWidth>
  1766.         <icon>0</icon>
  1767.         <textAlign>center</textAlign>
  1768.         <font>Charcoal</font>
  1769.         <textSize>12</textSize>
  1770.         <textStyle>plain</textStyle>
  1771.         <name>Not Yet</name>
  1772.         <script>on mouseEnter
  1773. FullBalloons "ShowDirect","Not Yet"&return&return&"Click here to try HTML Optimizer first,"&&┬¼
  1774. "before you decide to register."
  1775. end mouseEnter
  1776.  
  1777. on mouseUp
  1778. FullBalloons "remove"
  1779. lock screen
  1780. hide cd fld "Welcome"
  1781. hide cd fld "Counting"
  1782. hide btn "RegisterΓǪ"
  1783. hide btn "┬⌐"
  1784. hide me
  1785. Addcolor colorCard,barnDoorClose,20
  1786. unlock screen with barn door close fast
  1787. end mouseUp</script>
  1788.     </part>
  1789.     <part>
  1790.         <id>85</id>
  1791.         <type>field</type>
  1792.         <visible> <true /> </visible>
  1793.         <dontWrap> <false /> </dontWrap>
  1794.         <dontSearch> <true /> </dontSearch>
  1795.         <sharedText> <false /> </sharedText>
  1796.         <fixedLineHeight> <true /> </fixedLineHeight>
  1797.         <autoTab> <false /> </autoTab>
  1798.         <lockText> <true /> </lockText>
  1799.         <rect>
  1800.             <left>200</left>
  1801.             <top>230</top>
  1802.             <right>223</right>
  1803.             <bottom>250</bottom>
  1804.         </rect>
  1805.         <style>opaque</style>
  1806.         <autoSelect> <false /> </autoSelect>
  1807.         <showLines> <false /> </showLines>
  1808.         <wideMargins> <false /> </wideMargins>
  1809.         <multipleLines> <false /> </multipleLines>
  1810.         <reservedFamily> 0 </reservedFamily>
  1811.         <titleWidth>0</titleWidth>
  1812.         <icon>0</icon>
  1813.         <textAlign>center</textAlign>
  1814.         <font>Geneva</font>
  1815.         <textSize>12</textSize>
  1816.         <textStyle>bold</textStyle>
  1817.         <textHeight>17</textHeight>
  1818.         <name>Counting</name>
  1819.         <script>on mouseEnter
  1820. FullBalloons "ShowDirect","7 ΓǪ 0"&return&return&"Counts from 7 down to 0, so that you have"&&┬¼
  1821. "the opportunity to read the text above it."
  1822. end mouseEnter
  1823.  
  1824. on mouseUp
  1825. beep
  1826. end mouseUp
  1827. </script>
  1828.     </part>
  1829.     <part>
  1830.         <id>96</id>
  1831.         <type>button</type>
  1832.         <visible> <false /> </visible>
  1833.         <reserved5> 0 </reserved5>
  1834.         <reserved4> 0 </reserved4>
  1835.         <reserved3> 0 </reserved3>
  1836.         <reserved2> 0 </reserved2>
  1837.         <reserved1> 0 </reserved1>
  1838.         <enabled> <true /> </enabled>
  1839.         <rect>
  1840.             <left>274</left>
  1841.             <top>156</top>
  1842.             <right>390</right>
  1843.             <bottom>171</bottom>
  1844.         </rect>
  1845.         <style>checkbox</style>
  1846.         <showName> <true /> </showName>
  1847.         <highlight> <false /> </highlight>
  1848.         <autoHighlight> <true /> </autoHighlight>
  1849.         <sharedHighlight> <true /> </sharedHighlight>
  1850.         <family>0</family>
  1851.         <titleWidth>0</titleWidth>
  1852.         <icon>0</icon>
  1853.         <textAlign>center</textAlign>
  1854.         <font>Charcoal</font>
  1855.         <textSize>12</textSize>
  1856.         <textStyle>plain</textStyle>
  1857.         <name>Balloon Help</name>
  1858.         <script>on mouseEnter
  1859. FullBalloons "ShowDirect","Balloon Help"&return&return&"If checked, turns Help Balloons on."&&┬¼
  1860. "If unchecked, turns Help Balloons off."&return&"You can also control this button via"&&┬¼
  1861. "'Show/Hide Balloons' from the Help menu."&return&"Balloon Help remains active only"&&┬¼
  1862. "during this session."
  1863. end mouseEnter
  1864.  
  1865. on mouseUp
  1866. if hilite of me then
  1867. FullBalloons "on"
  1868. else FullBalloons "off"
  1869. end mouseUp
  1870.  
  1871. on mouseWithin
  1872. Fullballoons "isOn"
  1873. if the result then pass mouseWithin
  1874. end mouseWithin
  1875. </script>
  1876.     </part>
  1877.     <part>
  1878.         <id>91</id>
  1879.         <type>button</type>
  1880.         <visible> <true /> </visible>
  1881.         <reserved5> 0 </reserved5>
  1882.         <reserved4> 0 </reserved4>
  1883.         <reserved3> 0 </reserved3>
  1884.         <reserved2> 0 </reserved2>
  1885.         <reserved1> 0 </reserved1>
  1886.         <enabled> <true /> </enabled>
  1887.         <rect>
  1888.             <left>403</left>
  1889.             <top>284</top>
  1890.             <right>415</right>
  1891.             <bottom>296</bottom>
  1892.         </rect>
  1893.         <style>opaque</style>
  1894.         <showName> <true /> </showName>
  1895.         <highlight> <false /> </highlight>
  1896.         <autoHighlight> <true /> </autoHighlight>
  1897.         <sharedHighlight> <true /> </sharedHighlight>
  1898.         <family>0</family>
  1899.         <titleWidth>0</titleWidth>
  1900.         <icon>0</icon>
  1901.         <textAlign>center</textAlign>
  1902.         <font>Charcoal</font>
  1903.         <textSize>12</textSize>
  1904.         <textStyle>plain</textStyle>
  1905.         <name>┬⌐</name>
  1906.         <script>on mouseEnter
  1907. FullBalloons "ShowDirect","Copyright"&return&return&"Shows a copyright listing."
  1908. end mouseEnter
  1909.  
  1910. on mouseUp
  1911. disable btn "RegisterΓǪ"
  1912. disable btn "Not yet"
  1913. answer "COPYRIGHTS"&return&return&"HTML Optimizer ┬⌐ (1999 - 2000) Ton Brand"&return&return&┬¼
  1914. "Externals:"&return&"AddColor ┬⌐ Apple Computer Inc."&return&"FullOffset, FullReplace, GetMode, FullBalloons and CreateMenuHelp ┬⌐ Fr├⌐d├⌐ric Rinaldi"&return&┬¼
  1915. "WriteToFile and PassWord ┬⌐ Kevin Calhoun"&return&"SystemFont ┬⌐ Matthias Kahlert."
  1916. enable btn "RegisterΓǪ"
  1917. enable btn "Not yet"
  1918. end mouseUp</script>
  1919.     </part>
  1920.     <part>
  1921.         <id>114</id>
  1922.         <type>button</type>
  1923.         <visible> <false /> </visible>
  1924.         <reserved5> 0 </reserved5>
  1925.         <reserved4> 0 </reserved4>
  1926.         <reserved3> 0 </reserved3>
  1927.         <reserved2> 0 </reserved2>
  1928.         <reserved1> 0 </reserved1>
  1929.         <enabled> <true /> </enabled>
  1930.         <rect>
  1931.             <left>404</left>
  1932.             <top>237</top>
  1933.             <right>416</right>
  1934.             <bottom>249</bottom>
  1935.         </rect>
  1936.         <style>rectangle</style>
  1937.         <showName> <false /> </showName>
  1938.         <highlight> <false /> </highlight>
  1939.         <autoHighlight> <false /> </autoHighlight>
  1940.         <sharedHighlight> <true /> </sharedHighlight>
  1941.         <family>0</family>
  1942.         <titleWidth>0</titleWidth>
  1943.         <icon>0</icon>
  1944.         <textAlign>center</textAlign>
  1945.         <font>Charcoal</font>
  1946.         <textSize>12</textSize>
  1947.         <textStyle>plain</textStyle>
  1948.         <name>ConnectKagi</name>
  1949.         <script></script>
  1950.     </part>
  1951.     <part>
  1952.         <id>113</id>
  1953.         <type>button</type>
  1954.         <visible> <false /> </visible>
  1955.         <reserved5> 0 </reserved5>
  1956.         <reserved4> 0 </reserved4>
  1957.         <reserved3> 0 </reserved3>
  1958.         <reserved2> 0 </reserved2>
  1959.         <reserved1> 0 </reserved1>
  1960.         <enabled> <true /> </enabled>
  1961.         <rect>
  1962.             <left>404</left>
  1963.             <top>224</top>
  1964.             <right>416</right>
  1965.             <bottom>236</bottom>
  1966.         </rect>
  1967.         <style>rectangle</style>
  1968.         <showName> <false /> </showName>
  1969.         <highlight> <false /> </highlight>
  1970.         <autoHighlight> <false /> </autoHighlight>
  1971.         <sharedHighlight> <true /> </sharedHighlight>
  1972.         <family>0</family>
  1973.         <titleWidth>0</titleWidth>
  1974.         <icon>0</icon>
  1975.         <textAlign>center</textAlign>
  1976.         <font>Charcoal</font>
  1977.         <textSize>12</textSize>
  1978.         <textStyle>plain</textStyle>
  1979.         <name>sendMail</name>
  1980.         <script></script>
  1981.     </part>
  1982.     <part>
  1983.         <id>131</id>
  1984.         <type>button</type>
  1985.         <visible> <false /> </visible>
  1986.         <reserved5> 0 </reserved5>
  1987.         <reserved4> 0 </reserved4>
  1988.         <reserved3> 0 </reserved3>
  1989.         <reserved2> 0 </reserved2>
  1990.         <reserved1> 0 </reserved1>
  1991.         <enabled> <true /> </enabled>
  1992.         <rect>
  1993.             <left>404</left>
  1994.             <top>272</top>
  1995.             <right>416</right>
  1996.             <bottom>284</bottom>
  1997.         </rect>
  1998.         <style>rectangle</style>
  1999.         <showName> <false /> </showName>
  2000.         <highlight> <false /> </highlight>
  2001.         <autoHighlight> <false /> </autoHighlight>
  2002.         <sharedHighlight> <true /> </sharedHighlight>
  2003.         <family>0</family>
  2004.         <titleWidth>0</titleWidth>
  2005.         <icon>0</icon>
  2006.         <textAlign>center</textAlign>
  2007.         <font>Charcoal</font>
  2008.         <textSize>12</textSize>
  2009.         <textStyle>plain</textStyle>
  2010.         <name>openBrowser</name>
  2011.         <script></script>
  2012.     </part>
  2013.     <part>
  2014.         <id>126</id>
  2015.         <type>button</type>
  2016.         <visible> <false /> </visible>
  2017.         <reserved5> 0 </reserved5>
  2018.         <reserved4> 0 </reserved4>
  2019.         <reserved3> 0 </reserved3>
  2020.         <reserved2> 0 </reserved2>
  2021.         <reserved1> 0 </reserved1>
  2022.         <enabled> <true /> </enabled>
  2023.         <rect>
  2024.             <left>404</left>
  2025.             <top>236</top>
  2026.             <right>416</right>
  2027.             <bottom>248</bottom>
  2028.         </rect>
  2029.         <style>rectangle</style>
  2030.         <showName> <false /> </showName>
  2031.         <highlight> <false /> </highlight>
  2032.         <autoHighlight> <false /> </autoHighlight>
  2033.         <sharedHighlight> <true /> </sharedHighlight>
  2034.         <family>0</family>
  2035.         <titleWidth>0</titleWidth>
  2036.         <icon>0</icon>
  2037.         <textAlign>center</textAlign>
  2038.         <font>Charcoal</font>
  2039.         <textSize>12</textSize>
  2040.         <textStyle>plain</textStyle>
  2041.         <name>Welcome</name>
  2042.         <script></script>
  2043.     </part>
  2044.     <part>
  2045.         <id>143</id>
  2046.         <type>button</type>
  2047.         <visible> <false /> </visible>
  2048.         <reserved5> 0 </reserved5>
  2049.         <reserved4> 0 </reserved4>
  2050.         <reserved3> 0 </reserved3>
  2051.         <reserved2> 0 </reserved2>
  2052.         <reserved1> 0 </reserved1>
  2053.         <enabled> <true /> </enabled>
  2054.         <rect>
  2055.             <left>404</left>
  2056.             <top>187</top>
  2057.             <right>416</right>
  2058.             <bottom>199</bottom>
  2059.         </rect>
  2060.         <style>rectangle</style>
  2061.         <showName> <false /> </showName>
  2062.         <highlight> <false /> </highlight>
  2063.         <autoHighlight> <false /> </autoHighlight>
  2064.         <sharedHighlight> <true /> </sharedHighlight>
  2065.         <family>0</family>
  2066.         <titleWidth>0</titleWidth>
  2067.         <icon>0</icon>
  2068.         <textAlign>center</textAlign>
  2069.         <font>Charcoal</font>
  2070.         <textSize>12</textSize>
  2071.         <textStyle>plain</textStyle>
  2072.         <name>downloadBBEdit</name>
  2073.         <script></script>
  2074.     </part>
  2075.     <part>
  2076.         <id>49</id>
  2077.         <type>button</type>
  2078.         <visible> <true /> </visible>
  2079.         <reserved5> 0 </reserved5>
  2080.         <reserved4> 0 </reserved4>
  2081.         <reserved3> 0 </reserved3>
  2082.         <reserved2> 0 </reserved2>
  2083.         <reserved1> 0 </reserved1>
  2084.         <enabled> <true /> </enabled>
  2085.         <rect>
  2086.             <left>0</left>
  2087.             <top>0</top>
  2088.             <right>416</right>
  2089.             <bottom>296</bottom>
  2090.         </rect>
  2091.         <style>rectangle</style>
  2092.         <showName> <true /> </showName>
  2093.         <highlight> <true /> </highlight>
  2094.         <autoHighlight> <false /> </autoHighlight>
  2095.         <sharedHighlight> <true /> </sharedHighlight>
  2096.         <family>0</family>
  2097.         <titleWidth>0</titleWidth>
  2098.         <icon>0</icon>
  2099.         <textAlign>center</textAlign>
  2100.         <font>Charcoal</font>
  2101.         <textSize>12</textSize>
  2102.         <textStyle>plain</textStyle>
  2103.         <name>HTML Optimizer is starting upΓǪ</name>
  2104.         <script>on mouseUp
  2105. hide me
  2106. end mouseUp</script>
  2107.     </part>
  2108.     <part>
  2109.         <id>119</id>
  2110.         <type>button</type>
  2111.         <visible> <false /> </visible>
  2112.         <reserved5> 0 </reserved5>
  2113.         <reserved4> 0 </reserved4>
  2114.         <reserved3> 0 </reserved3>
  2115.         <reserved2> 0 </reserved2>
  2116.         <reserved1> 0 </reserved1>
  2117.         <enabled> <true /> </enabled>
  2118.         <rect>
  2119.             <left>20</left>
  2120.             <top>264</top>
  2121.             <right>216</right>
  2122.             <bottom>279</bottom>
  2123.         </rect>
  2124.         <style>checkbox</style>
  2125.         <showName> <true /> </showName>
  2126.         <highlight> <true /> </highlight>
  2127.         <autoHighlight> <true /> </autoHighlight>
  2128.         <sharedHighlight> <true /> </sharedHighlight>
  2129.         <family>0</family>
  2130.         <titleWidth>0</titleWidth>
  2131.         <icon>0</icon>
  2132.         <textAlign>center</textAlign>
  2133.         <font>Charcoal</font>
  2134.         <textSize>12</textSize>
  2135.         <textStyle>plain</textStyle>
  2136.         <name>Remove Carriage Returns</name>
  2137.         <script>on mouseEnter
  2138. FullBalloons "ShowDirect","Remove Carriage Returns"&┬¼
  2139. return&return&"If checked, Carriage Returns are removed, but not from embedded scripts."&return&┬¼
  2140. "If you encounter problems with some (unofficial) HTML code, then uncheck this option."
  2141. end mouseEnter</script>
  2142.     </part>
  2143.     <part>
  2144.         <id>94</id>
  2145.         <type>field</type>
  2146.         <visible> <false /> </visible>
  2147.         <dontWrap> <false /> </dontWrap>
  2148.         <dontSearch> <false /> </dontSearch>
  2149.         <sharedText> <false /> </sharedText>
  2150.         <fixedLineHeight> <true /> </fixedLineHeight>
  2151.         <autoTab> <false /> </autoTab>
  2152.         <lockText> <true /> </lockText>
  2153.         <rect>
  2154.             <left>261</left>
  2155.             <top>66</top>
  2156.             <right>273</right>
  2157.             <bottom>176</bottom>
  2158.         </rect>
  2159.         <style>transparent</style>
  2160.         <autoSelect> <false /> </autoSelect>
  2161.         <showLines> <false /> </showLines>
  2162.         <wideMargins> <false /> </wideMargins>
  2163.         <multipleLines> <false /> </multipleLines>
  2164.         <reservedFamily> 0 </reservedFamily>
  2165.         <titleWidth>0</titleWidth>
  2166.         <icon>0</icon>
  2167.         <textAlign>left</textAlign>
  2168.         <font>Geneva</font>
  2169.         <textSize>6</textSize>
  2170.         <textStyle>plain</textStyle>
  2171.         <textHeight>6</textHeight>
  2172.         <name>Fake4</name>
  2173.         <script></script>
  2174.     </part>
  2175.     <part>
  2176.         <id>89</id>
  2177.         <type>field</type>
  2178.         <visible> <false /> </visible>
  2179.         <dontWrap> <false /> </dontWrap>
  2180.         <dontSearch> <true /> </dontSearch>
  2181.         <sharedText> <false /> </sharedText>
  2182.         <fixedLineHeight> <false /> </fixedLineHeight>
  2183.         <autoTab> <false /> </autoTab>
  2184.         <lockText> <true /> </lockText>
  2185.         <rect>
  2186.             <left>404</left>
  2187.             <top>214</top>
  2188.             <right>416</right>
  2189.             <bottom>226</bottom>
  2190.         </rect>
  2191.         <style>rectangle</style>
  2192.         <autoSelect> <false /> </autoSelect>
  2193.         <showLines> <false /> </showLines>
  2194.         <wideMargins> <false /> </wideMargins>
  2195.         <multipleLines> <false /> </multipleLines>
  2196.         <reservedFamily> 0 </reservedFamily>
  2197.         <titleWidth>0</titleWidth>
  2198.         <icon>0</icon>
  2199.         <textAlign>left</textAlign>
  2200.         <font>Geneva</font>
  2201.         <textSize>9</textSize>
  2202.         <textStyle>plain</textStyle>
  2203.         <textHeight>12</textHeight>
  2204.         <name></name>
  2205.         <script>on mouseUp
  2206. hide me
  2207. end mouseUp
  2208. </script>
  2209.     </part>
  2210.     <part>
  2211.         <id>92</id>
  2212.         <type>field</type>
  2213.         <visible> <false /> </visible>
  2214.         <dontWrap> <false /> </dontWrap>
  2215.         <dontSearch> <false /> </dontSearch>
  2216.         <sharedText> <false /> </sharedText>
  2217.         <fixedLineHeight> <false /> </fixedLineHeight>
  2218.         <autoTab> <false /> </autoTab>
  2219.         <lockText> <true /> </lockText>
  2220.         <rect>
  2221.             <left>260</left>
  2222.             <top>52</top>
  2223.             <right>395</right>
  2224.             <bottom>55</bottom>
  2225.         </rect>
  2226.         <style>opaque</style>
  2227.         <autoSelect> <false /> </autoSelect>
  2228.         <showLines> <false /> </showLines>
  2229.         <wideMargins> <false /> </wideMargins>
  2230.         <multipleLines> <false /> </multipleLines>
  2231.         <reservedFamily> 0 </reservedFamily>
  2232.         <titleWidth>0</titleWidth>
  2233.         <icon>0</icon>
  2234.         <textAlign>left</textAlign>
  2235.         <font>Geneva</font>
  2236.         <textSize>12</textSize>
  2237.         <textStyle>plain</textStyle>
  2238.         <textHeight>16</textHeight>
  2239.         <name>SmallBlueLine2</name>
  2240.         <script>on mouseUp
  2241. beep
  2242. end mouseUp
  2243. </script>
  2244.     </part>
  2245.     <part>
  2246.         <id>95</id>
  2247.         <type>field</type>
  2248.         <visible> <false /> </visible>
  2249.         <dontWrap> <false /> </dontWrap>
  2250.         <dontSearch> <false /> </dontSearch>
  2251.         <sharedText> <false /> </sharedText>
  2252.         <fixedLineHeight> <true /> </fixedLineHeight>
  2253.         <autoTab> <false /> </autoTab>
  2254.         <lockText> <true /> </lockText>
  2255.         <rect>
  2256.             <left>390</left>
  2257.             <top>66</top>
  2258.             <right>402</right>
  2259.             <bottom>177</bottom>
  2260.         </rect>
  2261.         <style>transparent</style>
  2262.         <autoSelect> <false /> </autoSelect>
  2263.         <showLines> <false /> </showLines>
  2264.         <wideMargins> <false /> </wideMargins>
  2265.         <multipleLines> <false /> </multipleLines>
  2266.         <reservedFamily> 0 </reservedFamily>
  2267.         <titleWidth>0</titleWidth>
  2268.         <icon>0</icon>
  2269.         <textAlign>left</textAlign>
  2270.         <font>Geneva</font>
  2271.         <textSize>6</textSize>
  2272.         <textStyle>plain</textStyle>
  2273.         <textHeight>6</textHeight>
  2274.         <name>Fake5</name>
  2275.         <script></script>
  2276.     </part>
  2277.     <part>
  2278.         <id>107</id>
  2279.         <type>field</type>
  2280.         <visible> <false /> </visible>
  2281.         <dontWrap> <false /> </dontWrap>
  2282.         <dontSearch> <false /> </dontSearch>
  2283.         <sharedText> <false /> </sharedText>
  2284.         <fixedLineHeight> <false /> </fixedLineHeight>
  2285.         <autoTab> <false /> </autoTab>
  2286.         <lockText> <true /> </lockText>
  2287.         <rect>
  2288.             <left>0</left>
  2289.             <top>33</top>
  2290.             <right>416</right>
  2291.             <bottom>246</bottom>
  2292.         </rect>
  2293.         <style>scrolling</style>
  2294.         <autoSelect> <false /> </autoSelect>
  2295.         <showLines> <false /> </showLines>
  2296.         <wideMargins> <true /> </wideMargins>
  2297.         <multipleLines> <false /> </multipleLines>
  2298.         <reservedFamily> 0 </reservedFamily>
  2299.         <titleWidth>0</titleWidth>
  2300.         <icon>0</icon>
  2301.         <textAlign>left</textAlign>
  2302.         <font>Geneva</font>
  2303.         <textSize>9</textSize>
  2304.         <textStyle>plain</textStyle>
  2305.         <textHeight>12</textHeight>
  2306.         <name>Register</name>
  2307.         <script>on mouseUp
  2308. if the clickText contains "http://www.tonbrand" then
  2309. select the clickChunk
  2310. wait 3
  2311. select empty
  2312. send mouseUp to btn "Connect"
  2313. else if the clickText contains "@tonbrand" then
  2314. select the clickChunk
  2315. wait 3
  2316. select empty
  2317. send mouseUp to btn "sendMail"
  2318. else if the clickText contains "http://order.kagi" then
  2319. select the clickChunk
  2320. wait 3
  2321. select empty
  2322. send mouseUp to btn "ConnectKagi"
  2323. else if the clickText contains "Launch the Register Utility" then
  2324. select the clickChunk
  2325. wait 3
  2326. select empty
  2327. send mouseUp to btn id 111
  2328. else set scroll of me to 0
  2329. end mouseUp
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335. </script>
  2336.     </part>
  2337.     <part>
  2338.         <id>64</id>
  2339.         <type>field</type>
  2340.         <visible> <false /> </visible>
  2341.         <dontWrap> <false /> </dontWrap>
  2342.         <dontSearch> <true /> </dontSearch>
  2343.         <sharedText> <false /> </sharedText>
  2344.         <fixedLineHeight> <true /> </fixedLineHeight>
  2345.         <autoTab> <false /> </autoTab>
  2346.         <lockText> <true /> </lockText>
  2347.         <rect>
  2348.             <left>81</left>
  2349.             <top>65</top>
  2350.             <right>337</right>
  2351.             <bottom>189</bottom>
  2352.         </rect>
  2353.         <style>rectangle</style>
  2354.         <autoSelect> <false /> </autoSelect>
  2355.         <showLines> <false /> </showLines>
  2356.         <wideMargins> <true /> </wideMargins>
  2357.         <multipleLines> <false /> </multipleLines>
  2358.         <reservedFamily> 0 </reservedFamily>
  2359.         <titleWidth>0</titleWidth>
  2360.         <icon>0</icon>
  2361.         <textAlign>center</textAlign>
  2362.         <font>Geneva</font>
  2363.         <textSize>10</textSize>
  2364.         <textStyle>plain</textStyle>
  2365.         <textHeight>15</textHeight>
  2366.         <name>AboutΓǪ</name>
  2367.         <script>on mouseUp
  2368. lock screen
  2369. hide me
  2370. AddColor colorCard,stamp,0
  2371. end mouseUp
  2372. </script>
  2373.     </part>
  2374.     <part>
  2375.         <id>108</id>
  2376.         <type>field</type>
  2377.         <visible> <false /> </visible>
  2378.         <dontWrap> <false /> </dontWrap>
  2379.         <dontSearch> <true /> </dontSearch>
  2380.         <sharedText> <false /> </sharedText>
  2381.         <fixedLineHeight> <false /> </fixedLineHeight>
  2382.         <autoTab> <false /> </autoTab>
  2383.         <lockText> <true /> </lockText>
  2384.         <rect>
  2385.             <left>0</left>
  2386.             <top>246</top>
  2387.             <right>416</right>
  2388.             <bottom>296</bottom>
  2389.         </rect>
  2390.         <style>rectangle</style>
  2391.         <autoSelect> <false /> </autoSelect>
  2392.         <showLines> <false /> </showLines>
  2393.         <wideMargins> <false /> </wideMargins>
  2394.         <multipleLines> <false /> </multipleLines>
  2395.         <reservedFamily> 0 </reservedFamily>
  2396.         <titleWidth>0</titleWidth>
  2397.         <icon>0</icon>
  2398.         <textAlign>left</textAlign>
  2399.         <font>Geneva</font>
  2400.         <textSize>12</textSize>
  2401.         <textStyle>plain</textStyle>
  2402.         <textHeight>16</textHeight>
  2403.         <name>Cover</name>
  2404.         <script></script>
  2405.     </part>
  2406.     <part>
  2407.         <id>109</id>
  2408.         <type>button</type>
  2409.         <visible> <false /> </visible>
  2410.         <reserved5> 0 </reserved5>
  2411.         <reserved4> 0 </reserved4>
  2412.         <reserved3> 0 </reserved3>
  2413.         <reserved2> 0 </reserved2>
  2414.         <reserved1> 0 </reserved1>
  2415.         <enabled> <true /> </enabled>
  2416.         <rect>
  2417.             <left>325</left>
  2418.             <top>260</top>
  2419.             <right>391</right>
  2420.             <bottom>279</bottom>
  2421.         </rect>
  2422.         <style>standard</style>
  2423.         <showName> <true /> </showName>
  2424.         <highlight> <false /> </highlight>
  2425.         <autoHighlight> <true /> </autoHighlight>
  2426.         <sharedHighlight> <true /> </sharedHighlight>
  2427.         <family>0</family>
  2428.         <titleWidth>0</titleWidth>
  2429.         <icon>0</icon>
  2430.         <textAlign>center</textAlign>
  2431.         <font>Charcoal</font>
  2432.         <textSize>12</textSize>
  2433.         <textStyle>plain</textStyle>
  2434.         <name>OK</name>
  2435.         <script>on mouseEnter
  2436. FullBalloons "ShowDirect","OK"&return&return&"Closes the above text field."
  2437. end mouseEnter
  2438.  
  2439. on mouseUp
  2440. lock screen
  2441. hide cd fld "Register"
  2442. hide cd fld "Cover"
  2443. hide btn id 109
  2444. hide btn id 110
  2445. hide btn id 111
  2446. Addcolor colorCard,barnDoorClose,20
  2447. unlock screen with barn door close fast
  2448. end mouseUp</script>
  2449.     </part>
  2450.     <part>
  2451.         <id>110</id>
  2452.         <type>button</type>
  2453.         <visible> <false /> </visible>
  2454.         <reserved5> 0 </reserved5>
  2455.         <reserved4> 0 </reserved4>
  2456.         <reserved3> 0 </reserved3>
  2457.         <reserved2> 0 </reserved2>
  2458.         <reserved1> 0 </reserved1>
  2459.         <enabled> <true /> </enabled>
  2460.         <rect>
  2461.             <left>24</left>
  2462.             <top>260</top>
  2463.             <right>90</right>
  2464.             <bottom>279</bottom>
  2465.         </rect>
  2466.         <style>standard</style>
  2467.         <showName> <true /> </showName>
  2468.         <highlight> <false /> </highlight>
  2469.         <autoHighlight> <true /> </autoHighlight>
  2470.         <sharedHighlight> <true /> </sharedHighlight>
  2471.         <family>0</family>
  2472.         <titleWidth>0</titleWidth>
  2473.         <icon>0</icon>
  2474.         <textAlign>center</textAlign>
  2475.         <font>Charcoal</font>
  2476.         <textSize>12</textSize>
  2477.         <textStyle>plain</textStyle>
  2478.         <name>PrintΓǪ</name>
  2479.         <script>on mouseEnter
  2480. FullBalloons "ShowDirect","Print"&return&return&"Prints the register information shown above."
  2481. end mouseEnter
  2482.  
  2483. on mouseUp
  2484. doMenu "Page Setup..."
  2485. if the result is "Cancel" then exit mouseUp
  2486. set the printMargins to 60,40,30,30
  2487. print cd fld "Register"
  2488. end mouseUp</script>
  2489.     </part>
  2490.     <part>
  2491.         <id>111</id>
  2492.         <type>button</type>
  2493.         <visible> <false /> </visible>
  2494.         <reserved5> 0 </reserved5>
  2495.         <reserved4> 0 </reserved4>
  2496.         <reserved3> 0 </reserved3>
  2497.         <reserved2> 0 </reserved2>
  2498.         <reserved1> 0 </reserved1>
  2499.         <enabled> <true /> </enabled>
  2500.         <rect>
  2501.             <left>114</left>
  2502.             <top>260</top>
  2503.             <right>302</right>
  2504.             <bottom>279</bottom>
  2505.         </rect>
  2506.         <style>standard</style>
  2507.         <showName> <true /> </showName>
  2508.         <highlight> <false /> </highlight>
  2509.         <autoHighlight> <true /> </autoHighlight>
  2510.         <sharedHighlight> <true /> </sharedHighlight>
  2511.         <family>0</family>
  2512.         <titleWidth>0</titleWidth>
  2513.         <icon>0</icon>
  2514.         <textAlign>center</textAlign>
  2515.         <font>Charcoal</font>
  2516.         <textSize>12</textSize>
  2517.         <textStyle>plain</textStyle>
  2518.         <name>Launch the Register Utility</name>
  2519.         <script></script>
  2520.     </part>
  2521.     <part>
  2522.         <id>127</id>
  2523.         <type>button</type>
  2524.         <visible> <false /> </visible>
  2525.         <reserved5> 0 </reserved5>
  2526.         <reserved4> 0 </reserved4>
  2527.         <reserved3> 0 </reserved3>
  2528.         <reserved2> 0 </reserved2>
  2529.         <reserved1> 0 </reserved1>
  2530.         <enabled> <true /> </enabled>
  2531.         <rect>
  2532.             <left>20</left>
  2533.             <top>246</top>
  2534.             <right>220</right>
  2535.             <bottom>261</bottom>
  2536.         </rect>
  2537.         <style>checkbox</style>
  2538.         <showName> <true /> </showName>
  2539.         <highlight> <true /> </highlight>
  2540.         <autoHighlight> <true /> </autoHighlight>
  2541.         <sharedHighlight> <true /> </sharedHighlight>
  2542.         <family>0</family>
  2543.         <titleWidth>0</titleWidth>
  2544.         <icon>0</icon>
  2545.         <textAlign>center</textAlign>
  2546.         <font>Charcoal</font>
  2547.         <textSize>12</textSize>
  2548.         <textStyle>plain</textStyle>
  2549.         <name>Remove optional End Tags</name>
  2550.         <script>on mouseEnter
  2551. FullBalloons "ShowDirect","Remove optional End Tags"&return&return&"If checked,"&&┬¼
  2552. "optional End Tags such as </OPTION> or </P> are removed (not with XHTML documents)."
  2553. end mouseEnter</script>
  2554.     </part>
  2555.     <part>
  2556.         <id>136</id>
  2557.         <type>button</type>
  2558.         <visible> <false /> </visible>
  2559.         <reserved5> 0 </reserved5>
  2560.         <reserved4> 0 </reserved4>
  2561.         <reserved3> 0 </reserved3>
  2562.         <reserved2> 0 </reserved2>
  2563.         <reserved1> 0 </reserved1>
  2564.         <enabled> <true /> </enabled>
  2565.         <rect>
  2566.             <left>404</left>
  2567.             <top>212</top>
  2568.             <right>416</right>
  2569.             <bottom>224</bottom>
  2570.         </rect>
  2571.         <style>rectangle</style>
  2572.         <showName> <false /> </showName>
  2573.         <highlight> <false /> </highlight>
  2574.         <autoHighlight> <false /> </autoHighlight>
  2575.         <sharedHighlight> <true /> </sharedHighlight>
  2576.         <family>0</family>
  2577.         <titleWidth>0</titleWidth>
  2578.         <icon>0</icon>
  2579.         <textAlign>center</textAlign>
  2580.         <font>Charcoal</font>
  2581.         <textSize>12</textSize>
  2582.         <textStyle>plain</textStyle>
  2583.         <name>selectFolderPath</name>
  2584.         <script></script>
  2585.     </part>
  2586.     <part>
  2587.         <id>139</id>
  2588.         <type>button</type>
  2589.         <visible> <false /> </visible>
  2590.         <reserved5> 0 </reserved5>
  2591.         <reserved4> 0 </reserved4>
  2592.         <reserved3> 0 </reserved3>
  2593.         <reserved2> 0 </reserved2>
  2594.         <reserved1> 0 </reserved1>
  2595.         <enabled> <true /> </enabled>
  2596.         <rect>
  2597.             <left>404</left>
  2598.             <top>201</top>
  2599.             <right>416</right>
  2600.             <bottom>213</bottom>
  2601.         </rect>
  2602.         <style>rectangle</style>
  2603.         <showName> <false /> </showName>
  2604.         <highlight> <false /> </highlight>
  2605.         <autoHighlight> <false /> </autoHighlight>
  2606.         <sharedHighlight> <true /> </sharedHighlight>
  2607.         <family>0</family>
  2608.         <titleWidth>0</titleWidth>
  2609.         <icon>0</icon>
  2610.         <textAlign>center</textAlign>
  2611.         <font>Charcoal</font>
  2612.         <textSize>12</textSize>
  2613.         <textStyle>plain</textStyle>
  2614.         <name>activateMe</name>
  2615.         <script></script>
  2616.     </part>
  2617.     <content>
  2618.         <layer>card</layer>
  2619.         <id>1</id>
  2620.         <text><span class="style2">TML Optimizer offers 4 functions</span><span class="style1">:
  2621. </span><span class="style23">(Balloon Help is supported)</span><span class="style1">
  2622. </span><span class="style2">
  2623. 1</span><span class="style1">. Its main function is to </span><span class="style2">save space</span><span class="style1"> on your web pages by removing unnecessary characters and tags. Though the savings percentage may seem small, load time savings is much higher as your client's Internet browser parses the pages more efficient.
  2624. Embedded script code, e.g. JavaScript, is not ruined by HTML Optimizer!
  2625. Click </span><span class="style28"><a href="#" class="group">'</a></span><span class="style3"><a href="#" class="group">About Optimizing</a></span><span class="style28"><a href="#" class="group">'</a></span><span class="style1"> for more info.
  2626. </span><span class="style2">
  2627. 2</span><span class="style1">. Another function is to </span><span class="style2">check the tagged pair structure</span><span class="style1"> of your web pages. Any dangling tag will be reported. Moreover, the IMG tags are checked for the presence of the Width, Height and Alt attributes. The Width and Height attributes are necessary for building up the page as fast as possible. The Alt attribute makes your page more user-friendly under some circumstances. If you go to </span><span class="style2">Preferences</span><span class="style1">, you can choose to have the Alt attributes and/or optional (End) Tags being checked or not.
  2628. Finally, obsolete and browser-dependent tags are reported.
  2629. </span><span class="style2">
  2630. 3</span><span class="style1">. You can choose to not only check the tagged pair structure and IMG tags, but also </span><span class="style2">mark the dangling tags</span><span class="style1"> and </span><span class="style2">incomplete IMG tags</span><span class="style1"> with the character ΓÇó, so that you can find them quickly. The marking within a nested tag structure is not always completely accurate, but still easy to interpret. Saved files get ΓÇó as prefix.
  2631. </span><span class="style2">
  2632. 4</span><span class="style1">. Finally, you can check for special characters like ├⌐ and ├╝, and </span><span class="style2">convert</span><span class="style1"> them to the appropriate  &.....; notation; all within the ASCII 128 to 255 range.
  2633.  
  2634. </span><span class="style2">About Optimizing┬á</span><span class="style1">
  2635. During the optimizing process, your original pages remain untouched for later updating, which is quite useful since optimized pages have lost their original layout (if you agreed to remove the carriage returns).
  2636. New text files are created, by default with the Creator code R*ch of </span><span class="style2">BBEdit</span><span class="style1">, and put in the folder named </span><span class="style2">Optimizer Output</span><span class="style1">. If you don't have BBEdit, download a free copy of BBEdit Lite from </span><span class="style3"><a href="#" class="group">http://www.barebones.com/free/bbedit_lite.html</a></span><span class="style1">
  2637.  
  2638. View the optimized pages in your browser before uploading to a web server, but keep in mind that the links only work when you put the files in your web folder. However,</span><span class="style2"> take care that you do not replace your originals!</span><span class="style1">
  2639.  
  2640. </span><span class="style2">Which tags and characters are removed by default?</span><span class="style1">
  2641. HTML Optimizer removes the following </span><span class="style2">tags</span><span class="style1">:
  2642.   Optional end tags such as </LI>
  2643.   Forbidden end tags such as </IMG>
  2644.   Redundant Editor tags
  2645. The following </span><span class="style2">characters</span><span class="style1"> are removed:
  2646.   Carriage returns
  2647.   Line Feeds and Form Feeds
  2648.   Tabs
  2649.   Multiple white space
  2650.   Redundant white space
  2651. </span><span class="style2">Note</span><span class="style1"> that carriage returns and multiple whitespace are not removed from code between the following tags:
  2652.  <SCRIPT> and </SCRIPT>
  2653.  <APPLET> and </APPLET>
  2654.  <OBJECT> and </OBJECT>
  2655.  <STYLE> and </STYLE>
  2656.  <PRE> and </PRE>
  2657.  <NOOP> and </NOOP> (custom tags)
  2658. The begin tags of these six pairs may have a string included, e.g. <SCRIPT language="JavaScript">, and case does not matter.
  2659.  
  2660. </span><span class="style2">About the Configure menu</span><span class="style1">
  2661. If you wish to change the location of the Optimizer Output folder or re-confirm it after an error message, or if you have to confirm a different standard Internet browser (as set in Internet Config or the control panel Internet), then you need to choose the appropriate menu command from the Configure menu.
  2662.  
  2663. </span><span class="style2">About the View Page button</span><span class="style1">
  2664. This button enables you to view the current page in your Internet browser, after an optimizing and/or converting job. If more pages were handled you can select one.
  2665. The button is only available if you are a registered user and further only after a finished job that resulted in a file being written to the Optimizer Output folder.
  2666.                            </span><span class="style23">(click in this text field to go back to the top)</span></text>
  2667.     </content>
  2668.     <content>
  2669.         <layer>card</layer>
  2670.         <id>7</id>
  2671.         <text><span class="style1">y name is </span><span class="style2">Ton Brand</span><span class="style1">. I am a Dutch freelance Mac programmer.</span><span class="style2">
  2672. HTML Optimizer</span><span class="style1"> is one of my other applications; such as, for example:
  2673. </span><span class="style2">CuliDataBase</span><span class="style1"> - the ultimate recipe management tool for food lovers;
  2674. </span><span class="style2">RightWord</span><span class="style1">- word game for one or two players, works also in a network;
  2675. </span><span class="style2">HTML-OptimizerPlus</span><span class="style1"> - professional PPC version of HTML Optimizer.
  2676. You can download them from </span><span class="style3"><a href="#" class="group">http://www.tonbrand.nl/</a></span><span class="style1">
  2677.  
  2678. If you have any comments, remarks or bug reports, please contact me at </span><span class="style3"><a href="#" class="group">bugs@tonbrand.nl</a></span><span class="style1"> or at <TonBrand@kagi.com> if the first link fails.
  2679. Signed:  Ton Brand,  Ton's Software,  The Netherlands.
  2680. </span><span class="style28"><a href="#" class="group">Postal</a></span><span class="style1"> address:  De Breembos 2,  5673 KG Nuenen,  The Netherlands.</span></text>
  2681.     </content>
  2682.     <content>
  2683.         <layer>card</layer>
  2684.         <id>15</id>
  2685.         <text><span class="style1">                  </span><span class="style14">PROGRESS</span><span class="style1">  </span><span class="style12">(Type command-period to stop)</span><span class="style1">
  2686.  
  2687.  
  2688. </span><span class="style14">Optimizing:</span><span class="style1">       index_test2.html
  2689.  
  2690. </span><span class="style14">Files remaining to be optimized:</span><span class="style1">   1
  2691.  
  2692. </span><span class="style12">(conversion not included)</span><span class="style1">
  2693.                                   
  2694.  
  2695. Checking:   NoImageAttributes.htm
  2696.  
  2697. Files remaining to be checked:   1
  2698. </span></text>
  2699.     </content>
  2700.     <content>
  2701.         <layer>card</layer>
  2702.         <id>6</id>
  2703.         <text>open url "http://www.tonbrand.nl/"</text>
  2704.     </content>
  2705.     <content>
  2706.         <layer>card</layer>
  2707.         <id>31</id>
  2708.         <text>|
  2709. |
  2710. |
  2711. |
  2712. |
  2713. |
  2714. |
  2715. |
  2716. |
  2717. |
  2718.  
  2719.  
  2720. |
  2721. |
  2722. |
  2723. |
  2724.  
  2725.  
  2726. |
  2727. |
  2728. |
  2729. |
  2730. |
  2731. |
  2732.  
  2733.  
  2734. |
  2735. |
  2736. |
  2737. |
  2738. |
  2739. |
  2740. |
  2741. |
  2742. |
  2743. |
  2744. |
  2745. |
  2746. |</text>
  2747.     </content>
  2748.     <content>
  2749.         <layer>card</layer>
  2750.         <id>33</id>
  2751.         <text>|
  2752. |
  2753. |
  2754. |
  2755. |
  2756. |
  2757. |
  2758. |
  2759. |
  2760. |
  2761.  
  2762.  
  2763. |
  2764. |
  2765. |
  2766. |
  2767.  
  2768.  
  2769. |
  2770. |
  2771.  
  2772.  
  2773.  
  2774.  
  2775. </text>
  2776.     </content>
  2777.     <content>
  2778.         <layer>card</layer>
  2779.         <id>10</id>
  2780.         <text><span class="style1">                             </span><span class="style11">LOG</span><span class="style1">  (click </span><span class="style4">here</span><span class="style1"> to hide the log)
  2781.  
  2782. The optimized page and this log are in the Optimizer Output folder.
  2783. </span></text>
  2784.     </content>
  2785.     <content>
  2786.         <layer>card</layer>
  2787.         <id>53</id>
  2788.         <text>R*ch  (BBEdit)
  2789. ttxt  (SimpleText)
  2790. MSIE  (Internet Explorer)
  2791. MOSS  (Netscape)
  2792. -
  2793. Add/Remove…</text>
  2794.     </content>
  2795.     <content>
  2796.         <layer>card</layer>
  2797.         <id>64</id>
  2798.         <text>
  2799. HTML Optimizer  3.3.2
  2800.  
  2801. Copyright (1999-2000) Ton Brand
  2802.  
  2803. ΓÇóΓÇó unregistered copy ΓÇóΓÇó
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839. </text>
  2840.     </content>
  2841.     <content>
  2842.         <layer>card</layer>
  2843.         <id>82</id>
  2844.         <text><span class="style1"></span><span class="style49">HTML Optimizer</span><span class="style2">
  2845. </span><span class="style1">
  2846. This copy is registered to:
  2847.  
  2848. ΓÇóΓÇó </span><span class="style2">unregistered copy</span><span class="style1"> ΓÇóΓÇó
  2849.  
  2850. </span><span class="style12">Please keep the shareware principle alive!
  2851. If unregistered, the buttons View Page and Mark Tags
  2852. are disabled and the Optimize and Check Tags functions
  2853. are restricted to three files per folder.
  2854.  
  2855.  
  2856. </span><span class="style23">
  2857. Copyright (1999-2000) Ton Brand</span></text>
  2858.     </content>
  2859.     <content>
  2860.         <layer>card</layer>
  2861.         <id>85</id>
  2862.         <text>7</text>
  2863.     </content>
  2864.     <content>
  2865.         <layer>card</layer>
  2866.         <id>84</id>
  2867.         <text>31678</text>
  2868.     </content>
  2869.     <content>
  2870.         <layer>card</layer>
  2871.         <id>86</id>
  2872.         <text>HD Mac OS New:Eigen creaties</text>
  2873.     </content>
  2874.     <content>
  2875.         <layer>card</layer>
  2876.         <id>89</id>
  2877.         <text>Optimizer</text>
  2878.     </content>
  2879.     <content>
  2880.         <layer>card</layer>
  2881.         <id>5</id>
  2882.         <text>if "unregistered" is in cd fld id 64 and "Registered to:" is not in prefs then
  2883.     lock screen
  2884.     prepareIntro
  2885.     AddColor colorCard,stamp,0
  2886.     unlock screen
  2887. end if
  2888. Intro
  2889. </text>
  2890.     </content>
  2891.     <content>
  2892.         <layer>card</layer>
  2893.         <id>93</id>
  2894.         <text><span class="style2">                                      </span><span class="style11">PREFERENCES</span><span class="style2">
  2895.   </span><span class="style1">----- </span><span class="style12">When starting</span><span class="style1"> -------------------------</span><span class="style13">--</span><span class="style1">  </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">After optimizing</span><span class="style1"> ----
  2896.                                                                                              </span><span class="style30">Other Creator?</span><span class="style1">
  2897.                             
  2898.  
  2899.                                                                                                                  
  2900.  </span><span class="style18"> </span><span class="style1"> ---------------------------------------------</span><span class="style13">--</span><span class="style1">
  2901.  </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When saving the log</span><span class="style1"> ---------------------- </span><span class="style18"> </span><span class="style1">  -------------------------</span><span class="style12">-</span><span class="style1">  
  2902.  </span><span class="style18"> </span><span class="style1">                                                                                 </span><span class="style18"> </span><span class="style1">  ----- </span><span class="style12">Miscellaneous</span><span class="style13"> </span><span class="style1">---</span><span class="style13">---</span><span class="style1">
  2903.  </span><span class="style18"> </span><span class="style1"> ---------------------------------------------</span><span class="style13">--      </span><span class="style1">
  2904.  </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When checking or marking</span><span class="style1"> --------------</span><span class="style12">-  </span><span class="style13">  </span><span class="style1">-------------------------</span><span class="style12">-</span><span class="style1">
  2905.                                                                                  ---------
  2906.  
  2907.  </span><span class="style18"> </span><span class="style1"> --------------------------------------------------------
  2908.  </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When optimizing</span><span class="style1"> -------------------------------</span><span class="style46">-</span><span class="style47">-</span><span class="style1">
  2909.  
  2910.  
  2911.  
  2912.                                              
  2913.  </span><span class="style18"> </span><span class="style1"> --------------------------------------------------------</span><span class="style2">
  2914.   
  2915. </span></text>
  2916.     </content>
  2917.     <content>
  2918.         <layer>card</layer>
  2919.         <id>94</id>
  2920.         <text><span class="style1">
  2921. |
  2922. |
  2923. |
  2924. |
  2925. |
  2926. |
  2927. |  
  2928. |
  2929. |
  2930. |
  2931. |
  2932.  
  2933.  
  2934. |
  2935. |
  2936. |
  2937. |
  2938.  
  2939.  
  2940.      </span><span class="style29"></span></text>
  2941.     </content>
  2942.     <content>
  2943.         <layer>card</layer>
  2944.         <id>95</id>
  2945.         <text>|
  2946. |
  2947. |
  2948. |
  2949. |
  2950. |
  2951. |
  2952. |
  2953. |
  2954. |
  2955. |
  2956. |
  2957.  
  2958.  
  2959. |
  2960. |
  2961. |
  2962. |
  2963. </text>
  2964.     </content>
  2965.     <content>
  2966.         <layer>card</layer>
  2967.         <id>36</id>
  2968.         <text>|
  2969. |
  2970. |
  2971. |
  2972.  
  2973.  
  2974. |
  2975. |
  2976. |
  2977. |
  2978. |
  2979. |
  2980. |
  2981. |
  2982. |
  2983. |
  2984. |</text>
  2985.     </content>
  2986.     <content>
  2987.         <layer>card</layer>
  2988.         <id>107</id>
  2989.         <text><span class="style12">ote that underlined text is clickable.
  2990.  
  2991. </span><span class="style30">Paying for HTML Optimizer is simple</span><span class="style12">:
  2992. You can use the </span><span class="style30">Register Utility</span><span class="style12"> (</span><span class="style30">1</span><span class="style12">) or you can pay via the </span><span class="style30">Internet</span><span class="style12"> (</span><span class="style30">2</span><span class="style12">).
  2993.  
  2994. (</span><span class="style30">1</span><span class="style12">) </span><span class="style33"><a href="#" class="group">Launch the Register Utility</a></span><span class="style12">. Enter your name, your e-mail address if you have one, and the number of Single User licenses you desire for HTML Optimizer. Save or copy or print the data from the Register Utility and send it to Kagi. Kagi will process your registration and forward your payment to me.
  2995.  
  2996. (</span><span class="style30">2</span><span class="style12">) Secure Online Registration is possible at </span><span class="style33"><a href="#" class="group">http://order.kagi.com/?U5P</a></span><span class="style12">.
  2997.  
  2998. </span><span class="style30">Payment details</span><span class="style12">
  2999. If you pay with </span><span class="style30">Cash</span><span class="style12"> or </span><span class="style30">Check </span><span class="style12">(US$ only!), you should print the data using the Register utility and send it to the address shown on the form, which is:
  3000. </span><span class="style32">┬á┬á┬á┬á┬á┬á┬á┬á┬á┬á</span><span class="style12">Kagi
  3001. </span><span class="style32">┬á┬á┬á┬á┬á┬á┬á┬á┬á┬á</span><span class="style12">1442-A Walnut Street #392-U5P
  3002. </span><span class="style32">┬á┬á┬á┬á┬á┬á┬á┬á┬á┬á</span><span class="style12">Berkeley, CA 94709-1405
  3003. </span><span class="style32">┬á┬á┬á┬á┬á┬á┬á┬á┬á┬á</span><span class="style12">USA.
  3004. If you pay with </span><span class="style30">Credit Card </span><span class="style12">or</span><span class="style30"> First Virtual</span><span class="style12">, you can email or fax the data to Kagi. Their email address is </span><span class="style33"><a href="#" class="group">sales@kagi.com</a></span><span class="style12"> and their fax number is +1 (510) 6526589. You can either copy the data from the Register utility and paste it into the body of an email message, or you can save the data to a file and attach the file to an email message. There's no need to compress the data file; it's already pretty small. If you have a fax modem, just print the data to the kagi fax number.
  3005.  
  3006. </span><span class="style30">Order processing time</span><span class="style12"> depends on your payment method:
  3007. Payments sent via postal mail take time to reach Kagi and then up to 10 days for processing.
  3008. Payments sent via email and through the online registration site are processed within 3 to 4 days. You will receive an email acknowledgement when your registration is done. Payments sent via fax take up to 10 days. 
  3009.  
  3010. </span><span class="style30">If you donΓÇÖt want to pay via Kagi</span><span class="style12">, you can send 7 dollars (the 2 dollar extra is to cover exchange charges), to my postal address below. Don't forget to send me an email message as well, with your name and address in it, and put "Opt Reg" in the subject header.
  3011. </span><span class="style30">
  3012. Thank you</span><span class="style12"> for keeping the shareware principle alive!
  3013.  
  3014. Ton Brand
  3015. Ton's Software
  3016. De Breembos 2
  3017. 5673 KG  Nuenen
  3018. The Netherlands
  3019.  
  3020. </span><span class="style33"><a href="#" class="group">http://www.tonbrand.nl</a></span><span class="style12">
  3021. </span><span class="style33"><a href="#" class="group">mailto:info@tonbrand.nl</a></span><span class="style12"> </span><span class="style33"><a href="#" class="group">
  3022. </a></span><span class="style12">Second email address is <TonBrand@kagi.com>, only to be used if the first one fails. Please do </span><span class="style30">not</span><span class="style12"> send mail to </span><span class="style30">both</span><span class="style12"> addresses at the same time!</span><span class="style2">
  3023.                                                       </span></text>
  3024.     </content>
  3025.     <content>
  3026.         <layer>card</layer>
  3027.         <id>113</id>
  3028.         <text>open url "mailto:bugs@tonbrand.nl"</text>
  3029.     </content>
  3030.     <content>
  3031.         <layer>card</layer>
  3032.         <id>114</id>
  3033.         <text>open url "http://order.kagi.com/?U5P"</text>
  3034.     </content>
  3035.     <content>
  3036.         <layer>card</layer>
  3037.         <id>65</id>
  3038.         <text>moved</text>
  3039.     </content>
  3040.     <content>
  3041.         <layer>card</layer>
  3042.         <id>131</id>
  3043.         <text>Internet Explorer 4.5</text>
  3044.     </content>
  3045.     <content>
  3046.         <layer>card</layer>
  3047.         <id>71</id>
  3048.         <text>HD Mac OS New:Eigen creaties:HTML OptimizerPro:OptimizerPro 1.8:HTML Optimizer 3.3.2╞Æ:</text>
  3049.     </content>
  3050.     <content>
  3051.         <layer>card</layer>
  3052.         <id>143</id>
  3053.         <text>open url "http://www.barebones.com/free/bbedit_lite.html"</text>
  3054.     </content>
  3055.     <content>
  3056.         <layer>card</layer>
  3057.         <id>26</id>
  3058.         <text>HD Mac OS New:</text>
  3059.     </content>
  3060.     <content>
  3061.         <layer>card</layer>
  3062.         <id>42</id>
  3063.         <text>HD Mac OS New</text>
  3064.     </content>
  3065.     <name></name>
  3066.     <script>on selectWebPages
  3067. global noAS
  3068. set the itemDelimiter to colon
  3069. if not hilite of btn id 28 and not hilite of btn id 29 and not hilite of btn id 30
  3070. then set hilite of btn id 30 to true
  3071. put empty into text1
  3072. if btn id 26 is empty then
  3073. put btn id 71 into btn id 26
  3074. put true into noAS
  3075. end if
  3076. if "Optimize" is in the target then
  3077. put "optimize" into action
  3078. put "                              LOG  (click here to hide the log)"&return&return&┬¼
  3079. "The optimized page and this log are in the Optimizer Output folder."&┬¼
  3080. return into cd fld "Log"
  3081. else if "Check" is in the target then
  3082. put "check" into action
  3083. put "                              LOG  (click here to hide the log)"&return&return&┬¼
  3084. "The log is in the Optimizer Output folder."&return into cd fld "Log"
  3085. else if "Mark" is in the target then
  3086. put "mark" into action
  3087. put "                              LOG  (click here to hide the log)"&return&return&┬¼
  3088. "The marked page and this log are in the Optimizer Output folder."&┬¼
  3089. return into cd fld "Log"
  3090. put return&return&"If a dangling tag is found,  <  is replaced with  ΓÇó , so if  </FORM> "&&┬¼
  3091. "is lacking, you see  ΓÇóFORM>  instead of the accompanying  <FORM> , or vice versa." into text1
  3092. else if "Convert" is in the target then
  3093. put "convert" into action
  3094. put "                              LOG  (click here to hide the log)"&return&return&┬¼
  3095. "The converted page and this log are in the Optimizer Output folder."&┬¼
  3096. return into cd fld "Log"
  3097. put return&return&"Characters between ASCII 128 and ASCII 255 will be checked and,"&&┬¼
  3098. "if necessary, converted to the appropriate  & ..... ;  notation." into text1
  3099. end if
  3100. set textSize of word 1 of cd fld "Log" to 12
  3101. set textStyle of word 1 of cd fld "Log" to bold
  3102. set textStyle of word 3 of cd fld "Log" to underline
  3103. put empty into listWebPages
  3104. put empty into mySelect
  3105. if hilite of btn id 30 then
  3106. answer "Do you want to"&&action&&"a whole set of web pages in one pass"&&┬¼
  3107. "or do you want to do one page at a time?"&text1 with "Cancel","All Pages","One Page"
  3108. else if hilite of btn id 28 then
  3109. answer file "Select a web page:" of type "TEXT"
  3110. else if hilite of btn id 29 then
  3111. answer folder "Select a web folder:"
  3112. end if
  3113. if it is "Cancel" then
  3114. enableThings
  3115. exit to HyperCard
  3116. else if it is "One Page" or hilite of btn id 28 then
  3117. if not hilite of btn id 28 then answer file "Select a web page:" of type "TEXT"
  3118. if the result is "Cancel" then
  3119. enableThings
  3120. exit to HyperCard
  3121. else
  3122. put "one" into mySelect
  3123. put it into thisPath
  3124. put last item of thisPath into listWebPages
  3125. put empty into last item of thisPath
  3126. if "unregistered" is not in cd fld "AboutΓǪ" then
  3127. if action is "optimize" or action is "convert" then
  3128. put "You can view the page in your browser by clicking the View Page button."&┬¼
  3129. return after cd fld "Log"
  3130. end if
  3131. end if
  3132. end if
  3133. else if it is "All Pages" or hilite of btn id 29 then
  3134. if not hilite of btn id 29 then answer folder "Select a web folder:"
  3135. if the result is "Cancel" then
  3136. enableThings
  3137. exit to HyperCard
  3138. else
  3139. put it into thisPath
  3140. put "all" into mySelect
  3141. if action is not "check" then
  3142. put "s" after word 3 of line 3 of cd fld "Log"
  3143. end if
  3144. end if
  3145. put GetFolderConts(thisPath,files) into listWebPages
  3146. if the result contains "Error" then
  3147. put the result into theResult
  3148. beep
  3149. answer "Sorry, an error has occurred."&return&return&theResult
  3150. enableThings
  3151. exit to HyperCard
  3152. end if
  3153. end if
  3154. repeat with i = number of lines of listWebPages down to 1
  3155. if ".htm" is not in line i of listWebPages and ".spm" is not in line i of listWebPages and┬¼
  3156. ".x" is not in line i of listWebPages and ".shtm" is not in line i of listWebPages and┬¼
  3157. ".wml" is not in line i of listWebPages and ".txt" is not in line i of listWebPages and┬¼
  3158. ".eht" is not in line i of listWebPages and ".cfm" is not in line i of listWebPages and┬¼
  3159. ".stm" is not in line i of listWebPages and ".taf" is not in line i of listWebPages and┬¼
  3160. ".lasso" is not in line i of listWebPages and ".asp" is not in line i of listWebPages then
  3161. delete line i of listWebPages
  3162. end if
  3163. end repeat
  3164. if listWebPages is empty then
  3165. put "(a web page must have the correct file extension, for example .htm)" into text2
  3166. if mySelect is "one" then answer "You did not select a web page."&return&text2 with "Cancel"
  3167. if mySelect is "all" then answer "You did not select a folder containing web pages."&return&text2 with "Cancel"
  3168. enableThings
  3169. exit to HyperCard
  3170. end if
  3171. set cursor to busy
  3172. optimizeWebPages thisPath,thisPage,listWebPages,mySelect,action
  3173. end selectWebPages
  3174.  
  3175. on optimizeWebPages thisPath,thisPage,listWebPages,mySelect,action
  3176. global whatLog,isConverted,lastPage,thisSelect
  3177. put mySelect into thisSelect
  3178. disable btn "View Page"
  3179. put number of lines of listWebPages into numLines
  3180. if not hilite of btn id 39 then
  3181. if action is "optimize" then
  3182. put "(conversion not included)" into line 8 of cd fld "Status"
  3183. else put empty into line 8 of cd fld "Status"
  3184. set textSize of line 8 of cd fld "Status" to 10
  3185. else put empty into line 8 of cd fld "Status"
  3186. if action is "check" then
  3187. put "Check Log" into whatLog
  3188. put "Checking:" into word 1 of line 4 of cd fld "Status"
  3189. put "checked:" into word 5 of line 6 of cd fld "Status"
  3190. else if action is "optimize" then
  3191. put "Optimize Log" into whatLog
  3192. put "Optimizing:" into word 1 of line 4 of cd fld "Status"
  3193. put "optimized:" into word 5 of line 6 of cd fld "Status"
  3194. else if action is "mark" then
  3195. put "Mark Log" into whatLog
  3196. put "Marking:" into word 1 of line 4 of cd fld "Status"
  3197. put "marked:" into word 5 of line 6 of cd fld "Status"
  3198. else if action is "convert" then
  3199. put "Convert Log" into whatLog
  3200. put "Converting:" into word 1 of line 4 of cd fld "Status"
  3201. put "converted:" into word 5 of line 6 of cd fld "Status"
  3202. end if
  3203. put empty into word 2 to (number of words of line 4 of cd fld "Status")┬¼
  3204. of line 4 of cd fld "Status"
  3205. put empty into word 6 of line 6 of cd fld "Status"
  3206. lock screen
  3207. show cd fld "Status"
  3208. show cd fld "Progress"
  3209. show btn "ProgressBase"
  3210. set rect of cd fld "Progress" to "103,78,323,88"
  3211. AddColor colorCard,stamp,0
  3212. unlock screen
  3213. set the itemDelimiter to tab
  3214. put 0 into totalDif
  3215. put 0 into totalSize
  3216. put false into writeFile
  3217. put 103 into leftMargin
  3218. repeat with i = 1 to numLines
  3219. set cursor to busy
  3220. add round(55/numLines) to leftMargin
  3221. set rect of cd fld "Progress" to "leftMargin,78,323,88"
  3222. AddColor colorCard,stamp,0
  3223. put line i of listWebPages into thisPage
  3224. put getCreator(thisPath&line i of listWebPages) into thisCreator
  3225. if hilite of btn id 61 and length of word 1 of selectedText of btn id 53 = 4 and┬¼
  3226. action is "optimize" then put word 1 of selectedText of btn id 53 into thisCreator
  3227. repeat until char 1 of thisPage is not space
  3228. if char 1 of thisPage is space then delete char 1 of thisPage
  3229. end repeat
  3230. put thisPage into word 2 to (number of words of line 4 of cd fld "Status")┬¼
  3231. of line 4 of cd fld "Status"
  3232. put numLines-i+1 into word 6 of line 6 of cd fld "Status"
  3233. open file thisPath&line i of listWebPages
  3234. read from file thisPath&line i of listWebPages until eof
  3235. put it into storage
  3236. close file thisPath&line i of listWebPages
  3237. if action is "check" then put markImageAttributes(storage,thisPage) into this
  3238. if action is "mark" then
  3239. put markImageAttributes(storage,thisPage) into storage
  3240. if "ΓÇó" is in storage then put true into writeFile
  3241. end if
  3242. add round(55/numLines) to leftMargin
  3243. set rect of cd fld "Progress" to "leftMargin,78,323,88"
  3244. AddColor colorCard,stamp,0
  3245. if action is "optimize" then
  3246. if hilite of btn id 39 then
  3247. put convertChars(storage,thisPage) into storage
  3248. end if
  3249. put length of storage into L1
  3250. put optimize(storage) into storage
  3251. put length of storage into L2
  3252. end if
  3253. if action is "check" then
  3254. put markTagStructure(storage,thisPage) into this
  3255. put markObsoleteTags(storage,thisPage) into this
  3256. end if
  3257. if action is "mark" then
  3258. put markTagStructure(storage,thisPage) into storage
  3259. put markObsoleteTags(storage,thisPage) into storage
  3260. end if
  3261. if action is "convert" then put convertChars(storage,thisPage) into storage
  3262. if "ΓÇó" is in storage or isConverted is true then put true into writeFile
  3263. add round(55/numLines) to leftMargin
  3264. set rect of cd fld "Progress" to "leftMargin,78,323,88"
  3265. AddColor colorCard,stamp,0
  3266. if "Optimized by HTML Optimizer" is not in line 1 of storage then
  3267. put "<!--Optimized by HTML Optimizer, copyright (1999 - 2000) Ton Brand-->"&┬¼
  3268. return before storage
  3269. end if
  3270. if action is "optimize" then
  3271. WriteToFile storage,true,btn id 26&"Optimizer Output:"&thisPage,false,thisCreator
  3272. else if action is "mark" and writeFile is true then
  3273. WriteToFile storage,true,btn id 26&"Optimizer Output:"&"ΓÇó"&thisPage,false,thisCreator
  3274. else if action is "convert" and writeFile is true then
  3275. WriteToFile storage,true,btn id 26&"Optimizer Output:"&thisPage,false,thisCreator
  3276. end if
  3277. if word 1 of the result contains "Error" then
  3278. put the result into theResult
  3279. errorMessage theResult,thisPage
  3280. end if
  3281. add round(55/numLines) to leftMargin
  3282. put 220/numLines into a
  3283. put 4*round(55/numLines) into b
  3284. if leftMargin < 320 then add round(a-b) to leftMargin
  3285. put 4*(a-b) into c
  3286. put 4*round(a-b) into d
  3287. if i/4 is an integer and leftMargin < 322 then add round(c-d) to leftMargin
  3288. set rect of cd fld "Progress" to "leftMargin,78,323,88"
  3289. AddColor colorCard,stamp,0
  3290. if action is "optimize" then
  3291. put L1-L2 into dif
  3292. add L1 to totalSize
  3293. if L1 Γëá 0 then
  3294. put (dif/L1)*100 into perc
  3295. else put 0 into perc
  3296. if perc <1 then
  3297. set numberFormat to "0.##"
  3298. else if perc < 10 then
  3299. set numberFormat to "0.#"
  3300. else set numberFormat to "0."
  3301. put return&"Saved on '"&thisPage&"'"&&dif&&"characters;"&&┬¼
  3302. perc&"% of the original." after cd fld "Log"
  3303. add dif to totalDif
  3304. end if
  3305. if i ΓëÑ 3 and "unregistered" is in cd fld "AboutΓǪ" then
  3306. if action is "optimize" then
  3307. beep
  3308. answer "Sorry, optimizing a folder is restricted to 3 files if you have not registered."
  3309. exit repeat
  3310. else if action is "check" then
  3311. beep
  3312. answer "Sorry, checking a folder is restricted to 3 files if you have not registered."
  3313. exit repeat
  3314. end if
  3315. end if
  3316. end repeat
  3317. set rect of cd fld "Progress" to "323,78,323,88"
  3318. AddColor colorCard,stamp,0
  3319. set cursor to hand
  3320. if mySelect is "all" and i > 25 then play "Attention"
  3321. wait until the sound is done
  3322. if action is "optimize" then
  3323. if totalSize Γëá 0 then
  3324. put (totalDif/totalSize)*100 into totalPerc
  3325. else put 0 into totalPerc
  3326. put return&return&"Saved total up to"&&totalDif&&"characters, which is on average"&&┬¼
  3327. totalPerc&"%." after cd fld "Log"
  3328. set textStyle of word 5 of last line of cd fld "Log" to bold
  3329. set textStyle of word 11 of last line of cd fld "Log" to bold
  3330. saveLog
  3331. else
  3332. if "Found in" is not in cd fld "Log" and "Found no" is not in cd fld "Log" then
  3333. put "No problems found."&return&"Log not saved." into line 3 of cd fld "Log"
  3334. else saveLog
  3335. end if
  3336. set numberFormat to "0.######"
  3337. set the itemDelimiter to comma
  3338. lock screen
  3339. enableThings
  3340. hide cd fld "Status"
  3341. hide cd fld "Progress"
  3342. hide btn "ProgressBase"
  3343. if number of lines of cd fld "Log" > 10 then
  3344. put return&return&"(click inside this log to go back to the top)" after cd fld "Log"
  3345. set textSize of last line of cd fld "Log" to 10
  3346. set textStyle of last line of cd fld "Log" to plain
  3347. end if
  3348. show cd fld "Log"
  3349. disable btn "PrintΓǪ"
  3350. put thisPage into lastPage
  3351. if action is "optimize" or action is "convert" then
  3352. if "Log not saved" is not in line 4 of cd fld "Log" then
  3353. enableView
  3354. else if "view the page in your browser" is in line 5 of cd fld "Log" then
  3355. delete line 5 of cd fld "Log"
  3356. end if
  3357. end if
  3358. AddColor colorCard,irisOpen,20
  3359. unlock screen with iris open fast
  3360. end optimizeWebPages
  3361.  
  3362. on selectDefault
  3363. global li53
  3364. if length of word 1 of value of li53 is 4 then
  3365. select li53
  3366. else select line 1 of btn id 53
  3367. end selectDefault
  3368.  
  3369. on mouseUp
  3370. Addcolor colorCard,stamp,0
  3371. end mouseUp</script>
  3372. </card>
  3373.  
  3374.  
  3375.